Thanks, I should have stated how the division proceeds and what is done with each result.
Let N equal 7, so N^2-2 equals 47. The initial set of odd numbers is 3,5,7 . . . 47. So the initial set of “candidate twin primes” consists of 3-5, 5-7, 7-9 . . . 45-47. This is a total of 22 “candidate...