Truncatable primes: Difference between revisions

m
(Added solution for MATLAB)
Line 1,553:
 
===An Alternative Approach===
Setting BASE to 10 and MAX to 6 in the Ruby example [http://rosettacode.org/wiki/Find_largest_left_truncatable_prime_in_a_given_base[Find largest left truncatable prime in a given base|here]] Produces:
<pre>
The largest left truncatable prime less than 1000000 in base 10 is 998443
Anonymous user