OFFSET
1,3
COMMENTS
Numbers n such that 10*10^n + 7 is prime.
Numbers n such that digit 1 followed by n >= 0 occurrences of digit 0 followed by digit 7 is prime.
Numbers corresponding to terms <= 998 are certified primes.
a(24) > 2*10^5. - Robert Price, Nov 09 2015
REFERENCES
Klaus Brockhaus and Walter Oberschelp, Zahlenfolgen mit homogenem Ziffernkern, MNU 59/8 (2006), pp. 462-467.
LINKS
Makoto Kamada, Prime numbers of the form 100...007.
FORMULA
a(n) = A088274(n) - 1.
EXAMPLE
10007 is prime, hence 3 is a term.
MATHEMATICA
Select[Range[0, 100000], PrimeQ[10*10^# + 7] &] (* Robert Price, Nov 09 2015 *)
PROG
(PARI) a=17; for(n=0, 1500, if(isprime(a), print1(n, ", ")); a=10*a-63)
(PARI) for(n=0, 1500, if(isprime(10*10^n+7), print1(n, ", ")))
CROSSREFS
KEYWORD
nonn,hard,more
AUTHOR
Klaus Brockhaus and Walter Oberschelp (oberschelp(AT)informatik.rwth-aachen.de), Dec 28 2004
EXTENSIONS
More terms from Herman Jamke (hermanjamke(AT)fastmail.fm), Jan 02 2008
a(24)-a(28) added from A088274 by Amiram Eldar, Nov 28 2021
STATUS
approved