A183184 Numbers n such that 10^(2n+1)-8*10^n-1 is prime.
1, 5, 13, 43, 169, 181, 1579, 18077, 22652, 157363
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 99...99199...99
- Index entries for primes involving repunits.
Crossrefs
Programs
-
Mathematica
Do[If[PrimeQ[10^(2n + 1) - 8*10^n - 1], Print[n]], {n, 3000}]
-
PARI
is(n)=ispseudoprime(10^(2*n+1)-8*10^n-1) \\ Charles R Greathouse IV, Jun 13 2017
Formula
a(n) = (A077776(n)-1)/2.
Extensions
Added one more term from PWP table, by Patrick De Geest, Nov 05 2014