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!)
A256926 Numbers k such that R_(k+2) + 2*10^k is prime, where R_k = 11...1 is the repunit (A002275) of length k. 0
0, 1, 4, 7, 16, 19, 37, 67, 166, 292, 20941 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
COMMENTS
Also, numbers k such that (118*10^k - 1)/9 is prime.
Terms from Kamada.
a(12) > 250000.
LINKS
EXAMPLE
For k=4, R_6 + 2*10^4 = 111111 + 20000 = 131111 which is prime.
MATHEMATICA
Select[Range[0, 250000], PrimeQ[(118*10^#-1)/9 ] &]
PROG
(Magma) [n: n in [0..300] | IsPrime((118*10^n-1) div 9)]; // Vincenzo Librandi, Apr 14 2015
(PARI) for(n=0, 300, if(isprime((118*10^n-1)/9), print1(n, ", "))) \\ Derek Orr, Apr 14 2015
CROSSREFS
Cf. A002275.
Sequence in context: A212062 A353259 A345429 * A101534 A110933 A299423
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 12:33 EDT 2024. Contains 371969 sequences. (Running on oeis4.)