|
Search: id:A102009
|
|
|
| A102009 |
|
Indices of primes in sequence defined by A(0) = 13, A(n) = 10*A(n-1) - 7 for n > 0. |
|
+0 1
|
| |
|
|
OFFSET
|
1,2
|
|
|
COMMENT
|
Numbers n such that (110*10^n + 7)/9 is prime.
Numbers n such that digit 1 followed by n >= 0 occurrences of digit 2 followed by digit 3 is prime.
Numbers corresponding to terms <= 875 are certified primes.
|
|
REFERENCES
|
Klaus Brockhaus and Walter Oberschelp, Zahlenfolgen mit homogenem Ziffernkern, MNU 59/8 (2006), pp. 462-467.
|
|
EXAMPLE
|
1223 is prime, hence 2 is a term.
|
|
PROGRAM
|
(PARI) a=13; for(n=0, 1600, if(isprime(a), print1(n, ", ")); a=10*a-7)
(PARI) for(n=0, 1600, if(isprime((110*10^n+7)/9), print1(n, ", ")))
|
|
CROSSREFS
|
Cf. A000533, A002275.
a(n) = A102929(n) - 1.
Sequence in context: A007289 A099765 A096656 this_sequence A135904 A145846 A009566
Adjacent sequences: A102006 A102007 A102008 this_sequence A102010 A102011 A102012
|
|
KEYWORD
|
nonn,hard,more
|
|
AUTHOR
|
Klaus Brockhaus (klaus-brockhaus(AT)t-online.de) and Walter Oberschelp (oberschelp(AT)informatik.rwth-aachen.de), Dec 28 2004
|
|
|
Search completed in 0.002 seconds
|