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!)
A257025 Numbers k such that 3*R_(k+2) + 4*10^k is prime, where R_k = 11...1 is the repunit (A002275) of length k. 0
0, 1, 2, 5, 7, 14, 32, 65, 163, 398, 485, 1799, 1852, 3326, 3692, 7226, 12743, 15313, 110405, 120395, 132337, 140357, 153025, 194150 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
COMMENTS
Also, numbers k such that (112*10^k - 1)/3 is prime.
Terms from Kamada.
a(25) > 250000.
LINKS
EXAMPLE
For k=2, 3*R_4 + 4*10^2 = 3333 + 400 = 3733 which is prime.
MATHEMATICA
Select[Range[0, 250000], PrimeQ[(112*10^#-1)/3 ] &]
PROG
(PARI) for(n=0, 500, if(isprime((112*10^n-1)/3), print1(n, ", "))) \\ Derek Orr, Apr 14 2015
(Magma) [n: n in [0..300] | IsPrime((112*10^n-1) div 3)]; // Vincenzo Librandi, Apr 15 2015
CROSSREFS
Cf. A002275.
Sequence in context: A338231 A286573 A133511 * A076720 A245921 A215513
KEYWORD
more,hard,nonn
AUTHOR
Robert Price, Apr 14 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 19 19:02 EDT 2024. Contains 371798 sequences. (Running on oeis4.)