Truncatable primes: Difference between revisions
Content deleted Content added
No edit summary |
m →{{header|REXX}}: Less wasted space in output box |
||
Line 501: | Line 501: | ||
</lang> |
</lang> |
||
Output: |
Output: |
||
<pre> |
|||
<pre style="height:30ex;overflow:scroll"> |
|||
The last prime is 999983 (78498 primes under one million). |
The last prime is 999983 (78498 primes under one million). |
||
------------------------------------------------------------------ |
------------------------------------------------------------------ |
||
Line 507: | Line 507: | ||
The largest right-truncatable prime is 739399 (under one million). |
The largest right-truncatable prime is 739399 (under one million). |
||
</pre> |
</pre> |
||
=={{header|Tcl}}== |
=={{header|Tcl}}== |
||
<lang tcl>package require Tcl 8.5 |
<lang tcl>package require Tcl 8.5 |