Substring primes: Difference between revisions

Against my better judgement, but I've had enough of this nonsense, and since some people are too weak-minded and lily-livered to do it themselves....
(Against my better judgement, but I've had enough of this nonsense, and since some people are too weak-minded and lily-livered to do it themselves....)
Line 4:
;Task:
Find all primes in which all substrings (in base ten) are also primes.
 
This ''can'' be achieved by filtering all primes below 500 (there are 95 of them), but there ''are'' better ways.
<br><br>
 
7,806

edits