login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A062209
Numbers k such that the smoothly undulating palindromic number (4*10^k-7)/33 = 121...21 is a prime (or PRP).
28
7, 11, 43, 139, 627, 1399, 1597, 1979, 7809, 14059, 46499
OFFSET
1,1
COMMENTS
Prime versus probable prime status and proofs are given in the author's table.
No further terms < 100000. - Ray Chandler, Aug 17 2011
The corresponding primes, called smoothly undulating palindromic primes (cf. links, A032758 and A059758), are listed in A092696. The number of '12's is given in A056803(n) = (a(n)-1)/2. - M. F. Hasler, Jul 30 2015
REFERENCES
J.-M. De Koninck, Ces nombres qui nous fascinent, Entry 139, p. 48, Ellipses, Paris 2008.
EXAMPLE
k=11 --> (12*10^11 - 21)/99 = 12121212121.
MATHEMATICA
d[n_]:=IntegerDigits[n]; Length/@d[Select[NestList[FromDigits[Join[d[#], {2, 1}]]&, 1, 1000], PrimeQ]] (* Jayanta Basu, May 25 2013 *)
PROG
(PARI) for(n=1, 1e5, ispseudoprime(5^n<<(n+2)\33)&&print1(n", ")) \\ M. F. Hasler, Jul 30 2015
KEYWORD
nonn,base
AUTHOR
Patrick De Geest and Hans Rosenthal (Hans.Rosenthal(AT)t-online.de), Jun 15 2001
EXTENSIONS
a(11) = 46499 from Ray Chandler, Nov 11 2010
Edited by Ray Chandler, Aug 17 2011
Name and other items edited by M. F. Hasler, Jul 30 2015
STATUS
approved