login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons 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

Pierre CAMI, Table of n, a(n) for n = 1..125

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

Adjacent sequences:  A272793 A272794 A272795 * A272797 A272798 A272799

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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 30 05:03 EDT 2020. Contains 337435 sequences. (Running on oeis4.)