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!)
A256925 Numbers k such that R_(k+2) + 10^k is prime, where R_k = 11...1 is the repunit (A002275) of length k. 0
136, 184, 640, 37960, 217360 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Also, numbers k such that (109*10^k - 1)/9 is prime.
Terms from Kamada.
a(6) > 250000.
Numbers k such that 12 followed by k ones is prime. - Harvey P. Dale, Jan 30 2022
LINKS
MATHEMATICA
Select[Range[0, 250000], PrimeQ[(109*10^#-1)/9 ] &]
Select[Range[700], PrimeQ[FromDigits[PadRight[{1, 2}, #, 1]]]&]-2 (* The program generates the first 3 terms of the sequence. To generate more, increase the Range constant but the program may take a long time to run. *) (* Harvey P. Dale, Jan 30 2022 *)
PROG
(Magma) [n: n in [0..300] | IsPrime((109*10^n-1) div 9)]; // Vincenzo Librandi, Apr 14 2015
(PARI) for(n=0, 700, if(isprime((109*10^n-1)/9), print1(n, ", "))) \\ Derek Orr, Apr 14 2015
CROSSREFS
Cf. A002275.
Sequence in context: A072889 A157714 A165337 * A235285 A282794 A304606
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 19 21:09 EDT 2024. Contains 371798 sequences. (Running on oeis4.)