listprimes -- Display the first N prime numbers.
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.
- nprimes = [integer, min=1]
- Number of primes to calculate.
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.