|
Search: id:A102020
|
|
|
| A102020 |
|
Indices of primes in sequence defined by A(0) = 17, A(n) = 10*A(n-1) - 13 for n > 0. |
|
+0 1
|
|
| 0, 1, 4, 6, 18, 19, 27, 57, 249, 396, 7590
(list; graph; listen)
|
|
|
OFFSET
|
1,3
|
|
|
COMMENT
|
Numbers n such that (140*10^n + 13)/9 is prime.
Numbers n such that digit 1 followed by n >= 0 occurrences of digit 5 followed by digit 7 is prime.
Numbers corresponding to terms <= 396 are certified primes.
|
|
REFERENCES
|
Klaus Brockhaus and Walter Oberschelp, Zahlenfolgen mit homogenem Ziffernkern, MNU 59/8 (2006), pp. 462-467.
|
|
LINKS
|
Makoto Kamada, Factorizations of near-repdigit numbers.
|
|
EXAMPLE
|
157 is prime, hence 1 is a term.
|
|
PROGRAM
|
(PARI) a=17; for(n=0, 1500, if(isprime(a), print1(n, ", ")); a=10*a-13)
(PARI) for(n=0, 1500, if(isprime((140*10^n+13)/9), print1(n, ", ")))
|
|
CROSSREFS
|
Cf. A000533, A002275.
a(n) = A102937(n) - 1.
Sequence in context: A061361 A113610 A062046 this_sequence A125133 A109310 A120391
Adjacent sequences: A102017 A102018 A102019 this_sequence A102021 A102022 A102023
|
|
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
|
|
EXTENSIONS
|
7590 from Herman Jamke (hermanjamke(AT)fastmail.fm), Jan 02 2008
|
|
|
Search completed in 0.002 seconds
|