Truncatable primes: Difference between revisions

Content added Content deleted
Line 1,716: Line 1,716:


=={{header|Nim}}==
=={{header|Nim}}==
{{incorrect|Nim|1 is not a prime number, hence 999961 is wrong}}
{{incorrect|Nim|1 is not prime but more importantly 7*1423=9961 and 31*31=961}}
{{trans|Python}}
{{trans|Python}}
<lang nim>import sets, strutils, algorithm
<lang nim>import sets, strutils, algorithm