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!)
A101075 Indices of primes in sequence defined by A(0) = 89, A(n) = 10*A(n-1) - 21 for n > 0. 1
0, 2, 16, 18, 32, 38, 168, 452, 610, 882, 1472, 6510, 9646, 21592, 39990, 40156 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Numbers n such that (780*10^n + 21)/9 is prime.
Numbers n such that digit 8 followed by n >= 0 occurrences of digit 6 followed by digit 9 is prime.
Numbers corresponding to terms <= 882 are certified primes.
REFERENCES
Klaus Brockhaus and Walter Oberschelp, Zahlenfolgen mit homogenem Ziffernkern, MNU 59/8 (2006), pp. 462-467.
LINKS
FORMULA
a(n) = A103088(n+1) - 1. [adapted by Georg Fischer, Jan 04 2021]
EXAMPLE
8669 is prime, hence 2 is a term.
MATHEMATICA
Flatten[Position[NestList[10#-21&, 89, 9700], _?PrimeQ]]-1 (* Harvey P. Dale, May 26 2012 *)
PROG
(PARI) a=89; for(n=0, 1500, if(isprime(a), print1(n, ", ")); a=10*a-21)
(PARI) for(n=0, 1500, if(isprime((780*10^n+21)/9), print1(n, ", ")))
CROSSREFS
Sequence in context: A282838 A180923 A058242 * A022370 A161802 A323193
KEYWORD
nonn,hard,more
AUTHOR
Klaus Brockhaus and Walter Oberschelp (oberschelp(AT)informatik.rwth-aachen.de), Nov 30 2004
EXTENSIONS
More terms from Herman Jamke (hermanjamke(AT)fastmail.fm), Jan 01 2008
a(14)-a(16) from Kamada data by Ray Chandler, Apr 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 April 25 16:23 EDT 2024. Contains 371989 sequences. (Running on oeis4.)