login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A071363
Largest n-digit prime with strictly increasing digits.
6
7, 89, 569, 5689, 34679, 345689, 1456789, 23456789
OFFSET
1,1
COMMENTS
Notice the terms with consecutive digits; search for 23456789 to find several related sequences including A006055, A052017 and A052077.
EXAMPLE
a(1) = A052015(4), a(2) = A052015(15), a(3) = A052015(35), a(4) = A052015(61), ... In short, a(n) = A052015(b(n)) with b = (4, 15, 35, 61, 81, 94, 98, 100). - M. F. Hasler, May 03 2017
PROG
(PARI) A071363(n, u=vectorv(n, i, 10^(n-i)))={forvec(d=vector(n, i, [1, 9]), isprime(d*u)&&n=d*u, 2); n} \\ M. F. Hasler, May 03 2017
CROSSREFS
Subsequence of A052015.
Sequence in context: A301925 A036902 A142204 * A174616 A089394 A068692
KEYWORD
base,fini,full,nonn
AUTHOR
Rick L. Shepherd, May 21 2002
STATUS
approved