PRIMES(6) Games Manual PRIMES(6)
primes - print all primes larger than some given number
/usr/games/primes [ number ]
primes reads a number from the standard input and prints all primes
larger than the given number. If number is given as an argument, it
uses that number rather than reading one from the standard input.
It obviously cannot print all primes larger than some given number. It
will not behave very sensibly when it overflows an int.
16 February 1988 PRIMES(6)