A062209 Numbers k such that the smoothly undulating palindromic number (4*10^k-7)/33 = 121...21 is a prime (or PRP).
7, 11, 43, 139, 627, 1399, 1597, 1979, 7809, 14059, 46499
Offset: 1
Examples
k=11 --> (12*10^11 - 21)/99 = 12121212121.
References
- J.-M. De Koninck, Ces nombres qui nous fascinent, Entry 139, p. 48, Ellipses, Paris 2008.
Links
Programs
-
Mathematica
d[n_]:=IntegerDigits[n]; Length/@d[Select[NestList[FromDigits[Join[d[#],{2,1}]]&,1,1000],PrimeQ]] (* Jayanta Basu, May 25 2013 *)
-
PARI
for(n=1,1e5,ispseudoprime(5^n<<(n+2)\33)&&print1(n",")) \\ M. F. Hasler, Jul 30 2015
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
Comments