Talk:Find largest left truncatable prime in a given base: Difference between revisions

Content added Content deleted
Line 5: Line 5:
You nay wish to keep a count of the number of left truncatable primes in a given base.--[[User:Nigel Galloway|Nigel Galloway]] 11:50, 15 September 2012 (UTC)
You nay wish to keep a count of the number of left truncatable primes in a given base.--[[User:Nigel Galloway|Nigel Galloway]] 11:50, 15 September 2012 (UTC)


I modified the Ruby example to print the number of left truncatable primes by digit count:
Using the JRuby example to print the number of left truncatable primes by digit count produces:
<pre>
<pre>
1 1 1
1 1 1