A245277 Largest prime all of whose substrings in its base n representation are primes.
2, 11, 67, 23, 37, 491, 47, 373, 79, 6043, 379, 2203, 647, 3389, 631, 34807, 211, 28663, 1283, 6449, 439, 266003, 577, 15649, 1811, 244471, 379, 485504623, 157, 31907, 2939, 15269, 2557, 22948529, 853, 197959, 743, 59723, 113, 96873817
Offset: 3
Examples
a(5) = 67 = 232_5, since all its substrings in base 5 (2, 3, 23_5 = 13, 32_5 = 17 and 232_5 = 67) are primes. There are no greater primes with this property.
Links
- Rémy Sigrist, Table of n, a(n) for n = 3..2500
- Rémy Sigrist, PARI program
Programs
-
PARI
See Links section.
Comments