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!)
A056247 Indices of primes in sequence defined by A(0) = 11, A(n) = 10*A(n-1) + 51 for n > 0. 2
0, 3, 11, 15, 17, 35, 51, 71, 99, 6231, 24027, 40221, 66393 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Numbers n such that (150*10^n - 51)/9 is prime.
Numbers n such that digit 1 followed by n >= 0 occurrences of digit 6 followed by digit 1 is prime.
Numbers corresponding to terms <= 99 are certified primes.
REFERENCES
Klaus Brockhaus and Walter Oberschelp, Zahlenfolgen mit homogenem Ziffernkern, MNU 59/8 (2006), pp. 462-467.
LINKS
Patrick De Geest, PDP Reference Table - 161.
FORMULA
a(n) = A082700(n-1) - 2 for n > 1.
EXAMPLE
16661 is prime, hence 3 is a term.
MATHEMATICA
Select[Range[0, 2000], PrimeQ[(150 10^# - 51) / 9] &] (* Vincenzo Librandi, Nov 03 2014 *)
PROG
(PARI) a=11; for(n=0, 1500, if(isprime(a), print1(n, ", ")); a=10*a+51)
(PARI) for(n=0, 1500, if(isprime((150*10^n-51)/9), print1(n, ", ")))
CROSSREFS
Sequence in context: A245522 A358226 A030715 * A039275 A044971 A106374
KEYWORD
nonn,hard,more
AUTHOR
Robert G. Wilson v, Aug 18 2000
EXTENSIONS
Additional comments from Klaus Brockhaus and Walter Oberschelp (oberschelp(AT)informatik.rwth-aachen.de), Dec 28 2004
Edited by N. J. A. Sloane, Jun 15 2007
More terms from Herman Jamke (hermanjamke(AT)fastmail.fm), Jan 02 2008
Added one more term from the PDP table and a link, by Patrick De Geest, Nov 02 2014
Edited by Ray Chandler, Nov 04 2014
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 20 00:58 EDT 2024. Contains 371798 sequences. (Running on oeis4.)