ScratchData LogoScratchData
Back to JimmyC's profile

Prime Number Generator

JIJimmyC•Created February 14, 2017
Prime Number Generator
0
0
26 views
View on Scratch

Instructions

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.

Description

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

Project Details

Project ID145331537
CreatedFebruary 14, 2017
Last ModifiedFebruary 11, 2018
SharedMarch 31, 2017
Visibilityvisible
CommentsAllowed