Arduino generating prime numbers

Without a delay in the code, it took nearly 7.4 days to roll over.