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!)
A256931 Numbers k such that R_(k+2) + 5*10^k is prime, where R_k = 11...1 is the repunit (A002275) of length k. 0
3, 16, 24, 165, 270, 478, 1683, 3976, 41608, 71760, 86982, 114226, 116610, 201504 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Also, numbers k such that (145*10^k - 1)/9 is prime.
Terms from Kamada.
a(15) > 250000.
LINKS
EXAMPLE
For k=3, R_5 + 5*10^2 = 11111 + 5000 = 16111 which is prime.
MATHEMATICA
Select[Range[0, 250000], PrimeQ[(145*10^#-1)/9 ] &]
PROG
(Magma) [n: n in [0..300] | IsPrime((145*10^n-1) div 9)]; // Vincenzo Librandi, Apr 14 2015
(PARI) for(n=0, 500, if(isprime((145*10^n-1)/9), print1(n, ", "))) \\ Derek Orr, Apr 14 2015
CROSSREFS
Cf. A002275.
Sequence in context: A101132 A153723 A091273 * A101405 A335308 A193367
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 May 14 11:58 EDT 2024. Contains 372532 sequences. (Running on oeis4.)