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!)
A257031 Numbers k such that 7*R_(k+2) - 2*10^k is prime, where R_k = 11...1 is the repunit (A002275) of length k. 0
1, 2, 5, 10, 11, 16, 23, 247, 1700, 2891, 3019, 5549, 5837, 9326, 14417, 23312, 24155, 30740, 61907, 64421, 69997, 163106, 177266 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Also, numbers k such that (682*10^k - 7)/9 is prime.
Terms from Kamada.
LINKS
EXAMPLE
For k=5, 7*R_7 - 2*10^5 = 7777777 - 200000 = 7577777 which is prime.
MATHEMATICA
Select[Range[0, 30000], PrimeQ[(682*10^#-7)/9 ] &]
PROG
(Magma) [n: n in [0..400] | IsPrime((682*10^n-7) div 9)]; // Vincenzo Librandi, Apr 15 2015
CROSSREFS
Cf. A002275.
Sequence in context: A163624 A353356 A363890 * A167799 A179871 A258116
KEYWORD
more,hard,nonn,changed
AUTHOR
Robert Price, Apr 14 2015
EXTENSIONS
a(18)-a(23) from Kamada data by Tyler Busby, Apr 16 2024
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 23:15 EDT 2024. Contains 371798 sequences. (Running on oeis4.)