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!)
A272796 Smallest prime number with prime(n) prime digits. 2
23, 223, 22273, 2222273, 22222222223, 2222222222273, 22222222222223557, 2222222222222222327, 22222222222222222222327, 22222222222222222222222222577, 2222222222222222222222222223223, 2222222222222222222222222222222222527, 22222222222222222222222222222222222223333 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
PROG
(PARI) isok(n) = {if (isprime(n), vd = vecsort(digits(n), , 8); for (i=1, #vd, if (!isprime(vd[i]), return (0))); return (1); ); }
a(n) = {sp = 2*(10^prime(n)-1)/9+1; while (!isok(sp), sp = nextprime(sp+2)); sp; } \\ Michel Marcus, May 07 2016
CROSSREFS
Cf. A272768.
Sequence in context: A125386 A091628 A126544 * A285552 A206766 A142490
KEYWORD
nonn,base
AUTHOR
Pierre CAMI, May 06 2016
EXTENSIONS
a(3) corrected by Michel Marcus, May 07 2016
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 April 19 21:09 EDT 2024. Contains 371798 sequences. (Running on oeis4.)