login
A272796
Smallest prime number with prime(n) prime digits.
2
23, 223, 22273, 2222273, 22222222223, 2222222222273, 22222222222223557, 2222222222222222327, 22222222222222222222327, 22222222222222222222222222577, 2222222222222222222222222223223, 2222222222222222222222222222222222527, 22222222222222222222222222222222222223333
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