login
A071361
Largest n-digit prime with strictly decreasing digits.
6
7, 97, 983, 9871, 98731, 987631, 9875321, 98765431
OFFSET
1,1
COMMENTS
Differs from A007810 (largest prime with n distinct digits) from a(7) on. [Edited by M. F. Hasler, May 03 2017]
PROG
(PARI) A071361(n, u=-vectorv(n, i, 10^(n-i)))=forvec(d=vector(n, i, -[9, 1]), isprime(d*u)&&return(d*u), 2) \\ M. F. Hasler, May 03 2017
CROSSREFS
KEYWORD
base,fini,full,nonn
AUTHOR
Rick L. Shepherd, May 21 2002
STATUS
approved