OFFSET
3,1
COMMENTS
This sequence in ascending bases, starting with base 3: 12, 23, 34, 2345, 56, 4567, 345678, 23456789, 678, 789AB, 34567, 23456789, 56789ABCDE, 23456789ABCDEF, 789ABCDEFG, 23456789ABCDEFGH, 9ABCD, 56789AB, 3456789ABCDEFGHIJK, 3456789ABCDEFGHIJ, DEFGHIJKL, 6789ABCD, 23456789ABC, 9ABCDEFGHIJKLMNOP.
EXAMPLE
12_3 = 5 is the largest prime number with strictly ascending digits for this base.
PROG
(PARI) a(n)={forstep(k=n-1, 1, -1, forstep(j=n-k, 1, -1, my(t=fromdigits([j..j+k-1], n)); if(isprime(t), return(t)))); oo} \\ Andrew Howroyd, May 22 2021
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Hervé Loiseau, May 22 2021
STATUS
approved