Find the NUMBER of CIRCULAR PRIMES that are BELOW the number 500000



... do I really need Jason's respect? And what's with this fascination with prime numbers? I say leave math to the mathematician, there's a reason Primes are so hard to get, and that's cause there's no formula for them, of course that's also what makes them so valuable to security and encryption experts, but I really don't feel like writing code that just test processor speed. I you guys want specs I have a AMD Turion X2, Dual Core 64 bit processor. Are we done or should I run some benchmarks too?
Oh and nice solution HD, seems very complicated since it doesn't use any string functions. 
