The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A101972 Indices of primes in sequence defined by A(0) = 29, A(n) = 10*A(n-1) - 1 for n > 0. 1
0, 6, 7, 10, 13, 18, 31, 40, 52, 60, 132, 156, 238, 1236, 30253, 34422, 139288 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Numbers n such that (260*10^n + 1)/9 is prime.
Numbers n such that digit 2 followed by n >= 0 occurrences of digit 8 followed by digit 9 is prime.
Numbers corresponding to terms <= 238 are certified primes.
a(18) > 2*10^5. - Robert Price, Jan 29 2015
REFERENCES
Klaus Brockhaus and Walter Oberschelp, Zahlenfolgen mit homogenem Ziffernkern, MNU 59/8 (2006), pp. 462-467.
LINKS
FORMULA
a(n) = A102963(n+1) - 1.
EXAMPLE
28888889 is prime, hence 6 is a term.
MATHEMATICA
Flatten[Position[Table[FromDigits[Join[PadRight[{2}, n, 8], {9}]], {n, 1300}], _?PrimeQ]]-1 (* Harvey P. Dale, Sep 22 2012 *)
PROG
(PARI) a=29; for(n=0, 1500, if(isprime(a), print1(n, ", ")); a=10*a-1)
(PARI) for(n=0, 1500, if(isprime((260*10^n+1)/9), print1(n, ", ")))
CROSSREFS
Sequence in context: A135121 A309854 A083133 * A102727 A315831 A287386
KEYWORD
nonn,hard,more
AUTHOR
Klaus Brockhaus and Walter Oberschelp (oberschelp(AT)informatik.rwth-aachen.de), Dec 23 2004
EXTENSIONS
a(15)-a(17) derived from A102963 by Robert Price, Jan 29 2015
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 14 01:40 EDT 2024. Contains 372528 sequences. (Running on oeis4.)