March 2023 : improved version by @BigBadLuke : https://scratch.mit.edu/projects/782189300/ April 2021 update: time to calculate the first 1000 primes improved from ~1.78s to ~0.166s (it may vary depending your device but it's the same proportion) Now it's not only ridiculously fast, the code is also extremely simplified. Super fast prime and simple prime number calculator
If you like this project, you're probably gonna like this other one of mine: https://scratch.mit.edu/projects/389399336/ (Complete Factors & Divisors calculator, up to 14 digits) ----------------------------------------------------------------