|
|
A101534
|
|
Indices of primes in sequence defined by A(0) = 69, A(n) = 10*A(n-1) - 31 for n > 0.
|
|
1
|
|
|
1, 4, 7, 16, 19, 64, 82, 89, 107, 251, 334, 1487, 6355, 65711, 96797
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
Numbers n such that (590*10^n + 31)/9 is prime.
Numbers n such that digit 6 followed by n >= 0 occurrences of digit 5 followed by digit 9 is prime.
Numbers corresponding to terms <= 334 are certified primes.
|
|
REFERENCES
|
Klaus Brockhaus and Walter Oberschelp, Zahlenfolgen mit homogenem Ziffernkern, MNU 59/8 (2006), pp. 462-467.
|
|
LINKS
|
|
|
FORMULA
|
|
|
EXAMPLE
|
655559 is prime, hence 4 is a term.
|
|
MATHEMATICA
|
For[n=1, n<= 3000, n++, If[PrimeQ[(590*10^n + 31)/9], Print[n]]] (Steinerberger)
|
|
PROG
|
(PARI) a=69; for(n=0, 1500, if(isprime(a), print1(n, ", ")); a=10*a-31)
(PARI) for(n=0, 1500, if(isprime((590*10^n+31)/9), print1(n, ", ")))
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,hard,more
|
|
AUTHOR
|
Klaus Brockhaus and Walter Oberschelp (oberschelp(AT)informatik.rwth-aachen.de), Dec 06 2004
|
|
EXTENSIONS
|
6355 from Herman Jamke (hermanjamke(AT)fastmail.fm), Jan 01 2008
|
|
STATUS
|
approved
|
|
|
|