login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A102007 Indices of primes in sequence defined by A(0) = 17, A(n) = 10*A(n-1) - 63 for n > 0. 0
0, 1, 3, 7, 8, 23, 59, 109, 133, 221, 411, 699, 998, 1382, 5075, 5542, 6343, 14599, 15092, 21716, 23635, 30220, 50710 (list; graph; refs; listen; history; internal format)
OFFSET

1,3

COMMENTS

Numbers n such that 10*10^n + 7 is prime.

Numbers n such that digit 1 followed by n >= 0 occurrences of digit 0 followed by digit 7 is prime.

Numbers corresponding to terms <= 998 are certified primes.

a(n) = A088274(n-1) - 1.

REFERENCES

Klaus Brockhaus and Walter Oberschelp, Zahlenfolgen mit homogenem Ziffernkern, MNU 59/8 (2006), pp. 462-467.

EXAMPLE

10007 is prime, hence 3 is a term.

PROG

(PARI) a=17; for(n=0, 1500, if(isprime(a), print1(n, ", ")); a=10*a-63)

(PARI) for(n=0, 1500, if(isprime(10*10^n+7), print1(n, ", ")))

CROSSREFS

Cf. A000533, A002275, A088274.

Sequence in context: A122227 A125570 A037208 * A152486 A105756 A152057

Adjacent sequences:  A102004 A102005 A102006 * A102008 A102009 A102010

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

More terms from Herman Jamke (hermanjamke(AT)fastmail.fm), Jan 02 2008

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 15 21:45 EST 2012. Contains 205860 sequences.