Just start the program and let the consecutive primes roll! Got the idea after looking at this video : https://www.youtube.com/watch?v=MQjR5iEN-ME