--How to use it? Press start to start the calculations. By the way, yes, it does find a lot of prime numbers in the first minutes of calculating. It will get slower as more calculations will be needed. --What does this program do? This program is for calculating prime numbers. The code starts with 3, then 5, 7, 9, 11 and so on. It will then divide each odd number by all numbers in front of it, and check if it is an integer. If it is, it will go on to the next odd number because it can be divided. If it is a prime number, it can not be divided by anything, and it will be set to the highest prime number you calculated so far.
--What is a prime number? A prime number is a number that cannot be divided by any other number, except for itself and 1. Like 17. And 23. And 3. There is an infinite amount of these. The highest prime number calculated so far is 2 to the power 57885161 minus 1. Thats about 22 million digits. --Why did you create this? I first came up with the idea of making a program myself that calculated prime number when my maths teacher told me they discovered a new one today. I then tried some things and found that it wasn't too hard. I thought it would also be a really cool addition to scratch, to try and see how many prime numbers we can calculate :)