Generates an array of prime numbers using a very basic method. Mathland Project Ideas: 1. Besides using turbo mode/screen refresh off :-) can you remix this code to speed up the algorithm that generates the prime? 2. Remix this code to ask the user for a given number and then state if the number typed in is prime or not. 3. Create a new script (or project) that generates a list of prime numbers using a completely different method.
More about prime numbers: betterexplained.com/articles/another-look-at-prime-numbers/ Check this out: Another algorithm e.g., Sieve of Eratosthenes https://en.wikipedia.org/wiki/Sieve_of_Eratosthenes