A099190 Numbers n such that 8*10^n-7 is prime.
1, 3, 5, 6, 10, 12, 13, 39, 48, 54, 64, 82, 147, 148, 360, 399, 1638, 1876, 2146, 2194, 15789, 23074, 38466, 68400
Offset: 1
Examples
73, 7993, 799993, 7999993, etc. are primes.
Links
- Makoto Kamada, Prime numbers of the form 799...993.
- Erich Friedman, What's Special About This Number?.
- Index entries for primes involving repunits.
Programs
-
Mathematica
Do[ If[ PrimeQ[8*10^n - 7], Print[n]], {n, 10000}]
-
PARI
is(n)=ispseudoprime(8*10^n-7) \\ Charles R Greathouse IV, Feb 20 2017
Formula
a(n) = A101155(n) + 1.
Extensions
a(19) & a(20) from Robert G. Wilson v, Jan 19 2005
a(21)-a(24) from Kamada data by Robert Price, Dec 14 2010
Comments