Find largest left truncatable prime in a given base: Difference between revisions
Find largest left truncatable prime in a given base (view source)
Revision as of 13:45, 1 September 2013
, 10 years agoUndo revision 167123 by Bengt (talk) 2 is eliminated because 12 22 32 42 52 62 72 82 and 92 are not prime, not because 12 is not. Similarly for 3. Maybe what exists is unclear but this is not the change
m (Putting "1" in front of a candiadate must result in a "1" first.) |
|||
Line 2:
A [[Truncatable primes|truncatable prime]] is one where all non-empty substrings that finish at the end of the number (right-substrings) are also primes ''when understood as numbers in a particular base''. The largest such prime in a given (integer) base is therefore computable, provided the base is larger than 2.
Let's consider what happens in base 10. Obviously the right most digit must be prime, so in base 10 candidates are 2,3,5,7. Putting a digit in the range 1 to base-1 in front of each candidate must result in a prime. So
Let's work base 3 by hand:
|