login
A380994
a(n) is the largest integer with distinct digits such that every substring of length n is a prime number.
0
7532, 89731, 863179, 8627193, 80657193, 865201937, 8502467139, 9852046317, 8975240631
OFFSET
1,1
COMMENTS
This list contains only 9 terms because, for n = 10, there is no pandigital prime number with all distinct digits, and if n > 10, then n must have at least one repeated digit. The terms a(7), a(8), a(9) are members of A050278.
EXAMPLE
For n = 2, the number 89731 has the substrings of length 2: 89, 97, 73, and 31, all of which are prime numbers, and it is the largest number with this property. So, a(2) = 89731.
CROSSREFS
Sequence in context: A185749 A077096 A031137 * A210171 A234987 A157322
KEYWORD
nonn,base,fini,full,new
AUTHOR
Gonzalo Martínez, Feb 11 2025
STATUS
approved