Truncatable primes: Difference between revisions
Content deleted Content added
m →{{header|REXX}}: removed two more-or-less useless lines of code. -- ~~~~ |
m →{{header|REXX}}: updated the OUTPUT section. -- ~~~~ |
||
Line 1,626: | Line 1,626: | ||
'''output''' |
'''output''' |
||
<pre> |
<pre> |
||
The last prime is 999983 (there are 78498 primes |
The last prime is 999983 (there are 78498 primes ≤ 1000000). |
||
────────────────────────────────────────────────────────────────────── |
────────────────────────────────────────────────────────────────────── |
||
The largest left-truncatable prime |
The largest left-truncatable prime ≤ 1000000 is 78392 |
||
The largest right-truncatable prime |
The largest right-truncatable prime ≤ 1000000 is 59490 |
||
</pre> |
</pre> |
||