----- NEW! ----- - Want to run the prime number tool way faster? How about almost instantly? Yeah thought so lol, try out my all new javascript version with the link below! https://prime-number-checker-git-main.matt-destroyer.vercel.app/ ----- Instructions ----- Press shift while pressing the green flag (that turns turbo mode on, do the same to turn it off)! This project takes all my prime number engines (I didn't share some because they were too generic) and combines them into one big project. Also I have no idea why since this project is larger etc, but this runs faster then the original generators although the only change is that it the code runs when a certain broadcast is received. Feedback is always welcomed! ----- What this engine can do ----- 1. Check if a number is prime or composite. 2. Find the next prime number after the number you specify. 3. Find the prime number before the number you specify. 4. Generate a list of prime numbers (whenever you reach the list length limit it will delete the first item on the list to create space). 5. Help generate the largest prime number by using a cloud variable and a similar engine to the one that generates a list of prime numbers. ----- Notes ----- - Use turbomode (shift + click green flag) - For the next and previous prime number finder errors can occur when you input a number exceeding 14 digits. - For the next prime finder if you input a number between 2 and 10 it will always say the next prime is 11, this is a bug which I have not yet found a way to fix (I could of course use if else statements but then it is not optimised well and slightly slower). ----- Changelog ----- - v1.0 (Original engines!) - v1.1 (Bug fix + minor improvements) - v1.2 (Added online checker for cloud highest prime number [if you are offline it will not try to update the cloud to allow the project to run faster]) - v1.3 (Fixed previous prime number finder.) - v1.4 (Improved infinite prime generator; now when you reach the list length limit it will delete the first item on the list and continue going.) - v1.5 (Minor improvements.) - v1.6 (Fixed and improved next and previous prime finder engines.) - v1.7 (Improvements to speed of instant not prime detection.) ----- Credits ----- - @Matt-DESTROYER [Me for my prime number engines/projects that can be found through my profile or the "Prime Numbers!" studio ( ).] - (For finding a bug in the code and pointing it out.) - Anyone who used the cloud highest prime feature. - You for reading all this. :D