This is something I made because I was board. Just do what the program says. Also, if the number is prime, the program will stop.
• This uses the equation 6n + 1. If it's not a prime number, it uses the equation 6n - 1. • n is the value of any whole number • This program will, in the end, generate a prime number