| listprimes | stsdas.analysis.fourier | listprimes |
listprimes -- Display the first N prime numbers.
listprimes nprimes
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.
1. Calculate the first 105 prime numbers and store them in a file called primes.
fo> listprimes 105 > primes
Type "help fourier option=sys" for a higher-level description of the fourier package.