Prime numbers which contain 123: Difference between revisions

m
→‎{{header|Factor}}: they can't end in 5...
m (→‎{{header|Factor}}: they can't end in 5...)
Line 67:
<<
CONSTANT: d { 0 1 2 3 4 5 6 7 8 9 } ! digits that can be anywhere
CONSTANT: e { 1 3 5 7 9 } ! digits that can be at the end
>>
 
Line 111:
Found 43,548 such primes under 100,000,000.
Found 435,853 such primes under 1,000,000,000.
Running time: 23.83809337120984574 seconds
</pre>
 
1,808

edits