Press the flag to run Press the w key to clear the lists and start from the current highest calculated number A prime number is divisible only by 1 and itself A composite is any number that is not prime ***1 is not prime or composite***
How it works: It divides the number it is checking by increasingly greater numbers, then checks if the answer is whole. If so, it is divisible by something other than 1 and itself, so it is composite. If not, it adds 1 to what it is dividing by and does it again. This keeps going until the divisor is bigger than the dividend This is designed to run based on what is already on the lists, so if you add something to a list, it basically breaks the entire project. Don't do it plz