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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A101524 Indices of primes in sequence defined by A(0) = 69, A(n) = 10*A(n-1) - 61 for n > 0. 0
2, 14, 338 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

COMMENTS

Numbers n such that (560*10^n + 61)/9 is prime.

Numbers n such that digit 6 followed by n >= 0 occurrences of digit 2 followed by digit 9 is prime.

Numbers corresponding to terms <= 338 are certified primes.

REFERENCES

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

EXAMPLE

6229 is prime, hence 2 is a term.

MATHEMATICA

#-1&/@Transpose[Select[NestList[{First[#]+1, 10Last[#]-61}&, {1, 69}, 2000], PrimeQ[Last[#]]&]][[1]] (* From Harvey P. Dale, Aug 15 2011 *)

PROG

(PARI) a=69; for(n=0, 1000, if(isprime(a), print1(n, ", ")); a=10*a-61)

(PARI) for(n=0, 1000, if(isprime((560*10^n+61)/9), print1(n, ", ")))

CROSSREFS

Cf. A000533, A002275.

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

Sequence in context: A180605 A094155 A132626 * A013039 A011809 A102596

Adjacent sequences:  A101521 A101522 A101523 * A101525 A101526 A101527

KEYWORD

nonn,bref,hard,more

AUTHOR

Klaus Brockhaus (klaus-brockhaus(AT)t-online.de) and Walter Oberschelp (oberschelp(AT)informatik.rwth-aachen.de), Dec 06 2004

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 14 18:09 EST 2012. Contains 205663 sequences.