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!)
A101738 Indices of primes in sequence defined by A(0) = 41, A(n) = 10*A(n-1) + 81 for n > 0. 1
0, 1, 3, 6, 23, 171, 172, 217, 438, 2562, 2781, 2879, 3714, 4391, 10819, 14591, 25053, 27768, 40167, 180991, 193906 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
COMMENTS
Numbers n such that (450*10^n - 81)/9 is prime.
Numbers n such that digit 4 followed by n >= 0 occurrences of digit 9 followed by digit 1 is prime.
Numbers corresponding to terms <= 438 are certified primes.
a(22) > 2*10^5. - Robert Price, May 30 2015
REFERENCES
Klaus Brockhaus and Walter Oberschelp, Zahlenfolgen mit homogenem Ziffernkern, MNU 59/8 (2006), pp. 462-467.
LINKS
FORMULA
a(n) = A103001(n) - 1.
EXAMPLE
49991 is prime, hence 3 is a term.
MATHEMATICA
Select[Range[0, 1000], PrimeQ[(450*10^# - 81)/9] &] (* Robert Price, May 30 2015 *)
PROG
(PARI) a=41; for(n=0, 1500, if(isprime(a), print1(n, ", ")); a=10*a+81)
(PARI) for(n=0, 1500, if(isprime((450*10^n-81)/9), print1(n, ", ")))
CROSSREFS
Sequence in context: A013211 A013212 A013218 * A083525 A106213 A129520
KEYWORD
nonn,hard,more
AUTHOR
Klaus Brockhaus and Walter Oberschelp (oberschelp(AT)informatik.rwth-aachen.de), Dec 14 2004
EXTENSIONS
More terms from Herman Jamke (hermanjamke(AT)fastmail.fm), Jan 01 2008
a(17)-a(19) from Kamada data by Ray Chandler, May 01 2015
a(20)-a(21) from Robert Price, May 30 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 June 15 06:51 EDT 2024. Contains 373402 sequences. (Running on oeis4.)