ScratchData LogoScratchData
Back to CatIsFluffy's profile

Prime Test Infinity

CACatIsFluffy•Created June 17, 2017
Prime Test Infinity
8
7
100 views
View on Scratch

Instructions

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 7 primes that I typed in. WARNING! A VERY LARGE NUMBER COULD LAG YOUR COMPUTER.

Description

Now the test works for all values! Try 524287

Project Details

Project ID166430560
CreatedJune 17, 2017
Last ModifiedJune 17, 2017
SharedJune 17, 2017
Visibilityvisible
CommentsAllowed

Remix Information

Parent ProjectView Parent
Root ProjectView Root