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!)
A256932 Numbers k such that R_(k+2) + 6*10^k is prime, where R_k = 11...1 is the repunit (A002275) of length k. 0
0, 8, 9, 23, 54, 72, 92, 402, 405, 651, 860, 897, 2691, 3887, 4665, 4971, 5271, 8931, 9953, 10566, 10907, 11955, 22467, 66755, 153810, 169337, 224061 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Also, numbers k such that (154*10^k - 1)/9 is prime.
Terms from Kamada.
a(28) > 250000.
LINKS
EXAMPLE
For k=8, R_10 + 6*10^8 = 1111111111 + 600000000 = 1711111111 which is prime.
MATHEMATICA
Select[Range[0, 250000], PrimeQ[(154*10^#-1)/9 ] &]
PROG
(Magma) [n: n in [0..300] | IsPrime((154*10^n-1) div 9)]; // Vincenzo Librandi, Apr 14 2015
(PARI) for(n=0, 300, if(isprime((154*10^n-1)/9), print1(n, ", "))) \\ Derek Orr, Apr 14 2015
CROSSREFS
Cf. A002275.
Sequence in context: A303957 A046258 A074344 * A304600 A278076 A081351
KEYWORD
more,hard,nonn
AUTHOR
Robert Price, Apr 13 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 03:15 EDT 2024. Contains 371964 sequences. (Running on oeis4.)