OFFSET
1,3
COMMENTS
Numbers n such that 10*10^n + 9 is prime.
Numbers n such that digit 1 followed by n >= 0 occurrences of digit 0 followed by digit 9 is prime.
Numbers corresponding to terms <= 271 are certified primes.
a(22) > 2*10^5. - Robert Price, Oct 11 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...009.
FORMULA
a(n) = A088275(n) - 1.
EXAMPLE
1009 is prime, hence 2 is a term.
MATHEMATICA
Select[Range[0, 200000], PrimeQ[10*10^# + 9] &] (* Robert Price, Oct 11 2015 *)
PROG
(PARI) a=19; for(n=0, 1500, if(isprime(a), print1(n, ", ")); a=10*a-81)
(PARI) for(n=0, 1500, if(isprime(10*10^n + 9), 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(21) from Kamada data by Ray Chandler, May 01 2015
STATUS
approved