A183175 Numbers k such that (10^(2k+1) + 6*10^k - 1)/3 is prime.
1, 2, 17, 79, 118, 162, 177, 185, 240, 824, 1820, 2354, 134811
Offset: 1
References
- C. Caldwell and H. Dubner, "Journal of Recreational Mathematics", Volume 28, No. 1, 1996-97, pp. 1-9.
Links
- Patrick De Geest, World!Of Numbers, Palindromic Wing Primes (PWP's).
- Makoto Kamada, Prime numbers of the form 33...33533...33.
- Index entries for primes involving repunits.
Crossrefs
Programs
-
Mathematica
Do[If[PrimeQ[(10^(2n + 1) + 6*10^n - 1)/3], Print[n]], {n, 3000}]
-
PARI
is(n)=ispseudoprime((10^(2*n+1)+6*10^n-1)/3) \\ Charles R Greathouse IV, Jun 13 2017
Formula
a(n) = (A077784(n) - 1)/2.
Extensions
a(13) from Robert Price, Aug 03 2024
Comments