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!)
A257041 Numbers k such that 9*R_(k+2) - 10^k is prime, where R_k = 11...1 is the repunit (A002275) of length k. 0
3, 4, 5, 9, 19, 25, 34, 70, 82, 718, 2035, 2494, 3369, 3953, 4219, 8524, 30943, 49375, 52082, 139670, 303255 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Also, numbers k such that 99*10^k - 1 is prime.
Terms from Kamada.
LINKS
EXAMPLE
For k=3, 9*R_5 - 10^3 = 99999 - 1000 = 98999 which is prime.
MATHEMATICA
Select[Range[0, 280000], PrimeQ[99*10^#-1 ] &]
PROG
(Magma) [n: n in [0..300] | IsPrime(99*10^n-1)]; // Vincenzo Librandi, Apr 15 2015
CROSSREFS
Cf. A002275.
Sequence in context: A080552 A215176 A063781 * A346603 A056797 A029727
KEYWORD
more,hard,nonn
AUTHOR
Robert Price, Apr 14 2015
EXTENSIONS
a(21) from Predrag Kurtovic, May 24 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 07:07 EDT 2024. Contains 371964 sequences. (Running on oeis4.)