ScratchData LogoScratchData
Back to crazy_ted's profile

Prime Test: Any Number

CRcrazy_ted•Created June 17, 2017
Prime Test: Any Number
10
8
141 views
View on Scratch

Instructions

========================================= A prime is a number that is only divisible by 1 and itself. ========================================= Unlike other prime tests on scratch, this does not only check your number against a list of preloaded primes. First, it tests against a list of calculated primes, if not found there, it will calculate to see if it's prime. If so, add to the prime list. The prime list, although very long, only started with 6 primes that I typed in. WARNING! A VERY LARGE NUMBER COULD LAG YOUR COMPUTER.

Description

v1.0 launch v2.0 always computing more primes to check. v2.5 way way way way way faster!!! thank to @CatlsFluffy large primes to try 7344367, 6224369, 10931273, 414833, 11114423, 32416190071 Like This Project? Suggest It To Be Featured Here: https://scratch.mit.edu/studios/4228481/projects/

Project Details

Project ID166409021
CreatedJune 17, 2017
Last ModifiedJanuary 29, 2020
SharedJune 17, 2017
Visibilityvisible
CommentsAllowed