The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 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 Cf. A071360, A071361, A071362, A071363. Sequence in context: A268706 A030540 A071361 * A146758 A114019 A178007 Adjacent sequences:  A007807 A007808 A007809 * A007811 A007812 A007813 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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified April 7 19:17 EDT 2020. Contains 333306 sequences. (Running on oeis4.)