Truncatable primes: Difference between revisions
Content deleted Content added
Added solution for MATLAB |
|||
Line 1,553: | Line 1,553: | ||
===An Alternative Approach=== |
===An Alternative Approach=== |
||
Setting BASE to 10 and MAX to 6 in the Ruby example [ |
Setting BASE to 10 and MAX to 6 in the Ruby example [[Find largest left truncatable prime in a given base|here]] Produces: |
||
<pre> |
<pre> |
||
The largest left truncatable prime less than 1000000 in base 10 is 998443 |
The largest left truncatable prime less than 1000000 in base 10 is 998443 |