Number of Primes | JavaScriptSource

Number of Primes

Edemar Oliveira May 26, 2004
The script implements the seive of Erastótenes. It finds all the prime numbers up to one determined value.

The JavaScript Source: Math Related: Number of Primes

Simply click inside the window below, use your cursor to highlight the script, and copy (type Control-c or Apple-c) the script into a new file in your text editor (such as Note Pad or Simple Text) and save (Control-s or Command-s). The script is yours!!!


Did you use this script?  Do you like this site?  Please link to us!

Leave a Response