STScI Logo

listprimes stsdas.analysis.fourier


NAME · USAGE · DESCRIPTION · PARAMETERS · EXAMPLES · BUGS · SEE_ALSO

NAME

listprimes -- Display the first N prime numbers.

USAGE

listprimes nprimes

DESCRIPTION

This task simply takes an integer value from the user and calculates that number of prime numbers. Output is sent to the users terminal screen (i.e., STDOUT), but can be redirected to a file.

PARAMETERS

nprimes = [integer, min=1]
Number of primes to calculate.

EXAMPLES

1. Calculate the first 105 prime numbers and store them in a file called primes.


     fo> listprimes 105 > primes

BUGS

SEE ALSO

Type "help fourier option=sys" for a higher-level description of the fourier package.


Source Code · Package Help · Search Form · STSDAS