login
A101013
Indices of primes in sequence defined by A(0) = 97, A(n) = 10*A(n-1) - 3 for n > 0.
1
0, 1, 3, 6, 12, 27, 57, 85, 91, 107, 1407, 1485, 1711, 2673, 3879, 5535, 7587, 7649, 10557, 15531, 17958, 37179, 93081
OFFSET
1,3
COMMENTS
Numbers n such that (870*10^n + 3)/9 is prime.
Numbers n such that digit 9 followed by n >= 0 occurrences of digit 6 followed by digit 7 is prime.
Numbers corresponding to terms <= 107 are certified primes.
a(24) > 10^5. - Robert Price, Nov 12 2015
REFERENCES
Klaus Brockhaus and Walter Oberschelp, Zahlenfolgen mit homogenem Ziffernkern, MNU 59/8 (2006), pp. 462-467.
FORMULA
a(n) = A103104(n) - 1.
EXAMPLE
96667 is prime, hence 3 is a term.
MATHEMATICA
Select[Range[0, 100000], PrimeQ[(870*10^# + 3)/9] &] (* Robert Price, Nov 12 2015 *)
PROG
(PARI) a=97; for(n=0, 1500, if(isprime(a), print1(n, ", ")); a=10*a-3)
(PARI) for(n=0, 1500, if(isprime((870*10^n+3)/9), print1(n, ", ")))
CROSSREFS
KEYWORD
nonn,hard,more
AUTHOR
Klaus Brockhaus and Walter Oberschelp (oberschelp(AT)informatik.rwth-aachen.de), Nov 27 2004
EXTENSIONS
More terms from Herman Jamke (hermanjamke(AT)fastmail.fm), Jan 01 2008
a(19)-a(22) from Kamada data by Ray Chandler, Apr 28 2015
a(23) from Robert Price, Nov 12 2015
STATUS
approved