/prime-number-generator

A generator of prime numbers

Primary LanguagePython

prime-number-generator

A generator of prime numbers.

It calculates every prime numbers available from 2 to the max value inserted by the user. The numbers generation can be repeated based on the user input The first parameter is the biggest number to try, the second parameter is the number of times to repeat the job.

This script can also be used as a stress test or a benchmark.

How to use

python prime-number-generator.py
python prime-number-generator.py last_number iterations
python prime-number-generator.py 10000
python prime-number-generator.py 10000 5
python prime-number-generator.py help