ScratchData LogoScratchData
Back to innc's profile

Prime Numbers

INinnc•Created November 26, 2023
Prime Numbers
0
0
4 views
View on Scratch

Instructions

Put in a number and it'll calculate if it's a prime number or not. (As long as it's not too big because of floating point.) Use TurboWarp for faster calculations. (I haven't tested it yet.) https://turbowarp.org/930716516 (Edit: TurboWarp made it faster.)

Description

Some Scratchers have made prime calculators. Credit to the internet for fact-checking. 12/10/23: Made the calculator a thousand times faster by using square root instead of dividing the number by two. The idea was from a comment on this project. https://scratch.mit.edu/projects/667360254/ (3/13/24: I think this was the link to that comment: https://scratch.mit.edu/projects/667360254/#comments-265952933)

Project Details

Project ID930716516
CreatedNovember 26, 2023
Last ModifiedMarch 14, 2024
SharedNovember 27, 2023
Visibilityvisible
CommentsAllowed