If you aren't using a sieve, why did you have a sieve generator in the partial code that you posted?
You said that your code was (apparently) working and you asked for suggestions to speed it...
Type: Posts; User: Zaphod_b
If you aren't using a sieve, why did you have a sieve generator in the partial code that you posted?
You said that your code was (apparently) working and you asked for suggestions to speed it...
Hmmm...I got the sieve in similar time, so our systems aren't too different. However...By adding the missing main() and isPrime() functions to your code, I got all of the circular primes (up to and...