login
A101569
Indices of primes in sequence defined by A(0) = 59, A(n) = 10*A(n-1) - 81 for n > 0.
1
0, 1, 2, 4, 7, 19, 28, 85, 282, 756, 1198, 2472, 2732, 24852, 39628, 53491, 71236, 72301, 81652, 167509
OFFSET
1,3
COMMENTS
Numbers n such that 50*10^n + 9 is prime.
Numbers n such that digit 5 followed by n >= 0 occurrences of digit 0 followed by digit 9 is prime.
Numbers corresponding to terms <= 756 are certified primes.
a(21) > 2*10^5. - Robert Price, Aug 10 2015
REFERENCES
Klaus Brockhaus and Walter Oberschelp, Zahlenfolgen mit homogenem Ziffernkern, MNU 59/8 (2006), pp. 462-467.
FORMULA
a(n) = A103004(n) - 1.
EXAMPLE
500009 is prime, hence 4 is a term.
MATHEMATICA
Select[Range[0, 200000], PrimeQ[50*10^# + 9] &] (* Robert Price, Aug 10 2015 *)
PROG
(PARI) a=59; for(n=0, 1500, if(isprime(a), print1(n, ", ")); a=10*a-81)
(PARI) for(n=0, 1500, if(isprime(50*10^n+9), print1(n, ", ")))
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Klaus Brockhaus and Walter Oberschelp (oberschelp(AT)informatik.rwth-aachen.de), Dec 09 2004
EXTENSIONS
More terms from Herman Jamke (hermanjamke(AT)fastmail.fm), Jan 01 2008
a(14)-a(19) from Kamada data by Ray Chandler, Apr 30 2015
a(20) from Robert Price, Aug 10 2015
STATUS
approved