A100501 Numbers n such that 3*10^n+7 is prime.
1, 2, 5, 8, 24, 29, 84, 110, 129, 176, 593, 1137, 2675, 4992, 26904, 31572, 55077, 81021, 122274
Offset: 1
Examples
(3*10^5)+7 = (3*100000)+7 = 300000+7 = 300007, which is prime.
Links
- Makoto Kamada, Prime numbers of the form 300...007.
- Sabin Tabirca and Kieran Reynolds, Lacunary Prime Numbers.
Programs
-
Mathematica
Do[ If[ PrimeQ[ 3*10^n + 7], Print[ n ]], {n, 0, 20000}]
-
PARI
is(n)=ispseudoprime(3*10^n+7) \\ Charles R Greathouse IV, May 22 2017
Formula
a(n) = A101824(n) + 1.
Extensions
a(12) from Mark Hudson (mrmarkhudson(AT)hotmail.com), Nov 26 2004
a(13)-a(14) from Hugo Pfoertner, Nov 29 2004. The next term is > 20000.
a(15) from Kamada data by Robert Price, Dec 12 2010
a(16)-a(18) from Kamada data by Robert Price, Jan 26 2015
a(19) from Robert Price, Jul 04 2015
Comments