I am making a prime number geneerator. The way I am doing it is by incrementing the number and using if statements to filter out the numbers that arent prime. Is there an algorithm to check and see if a number is even, since there are no even primes.