Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
primes(1)		    General Commands Manual		     primes(1)

NAME
       primes -	generate prime numbers

SYNTAX
       primes [	low [ high ] ]

DESCRIPTION
       primes prints the sequence of prime numbers: 2, 3, 5, 7,	11, and	so on,
       one per line.

       If low is supplied, primes does not print any primes smaller than low.

       If high is supplied, primes does	not print any primes larger than high.
       If  high	is not supplied, primes	stops at 1000000000; the last prime is
       999999937.

       primes can handle high as large as 1000000000000000.

SEE ALSO
       primegen(3)

								     primes(1)

NAME | SYNTAX | DESCRIPTION | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=primes&sektion=1&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help