login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A007810 Largest prime with n distinct decimal digits. 11
7, 97, 983, 9871, 98731, 987631, 9876413, 98765431, 987654103 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Differs from A071361 from a(7) on. - M. F. Hasler, May 03 2017
REFERENCES
J.-M. De Koninck, Ces nombres qui nous fascinent, Entry 9871, p.194, Ellipses, Paris 2008.
LINKS
MATHEMATICA
Table[Module[{k=NextPrime[10^n-1, -1]}, While[Max[DigitCount[k]]>1, k = NextPrime[ k, -1]]; k], {n, 9}] (* Harvey P. Dale, Sep 16 2019 *)
PROG
(PARI) A007810(n, p=sum(k=1, n, (9+k-n)*10^k)/10)={until(#Set(digits(p--))==n&&isprime(p), ); p} \\ M. F. Hasler, May 03 2017
CROSSREFS
Sequence in context: A268706 A030540 A071361 * A146758 A114019 A178007
KEYWORD
nonn,fini,base,full
AUTHOR
N. B. Backhouse (sx52(AT)liverpool.ac.uk)
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 19 04:58 EDT 2024. Contains 370952 sequences. (Running on oeis4.)