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!)
A257028 Numbers k such that 7*R_(k+2) - 5*10^k is prime, where R_k = 11...1 is the repunit (A002275) of length k. 2
1, 4, 10, 28, 49, 64, 79, 109, 169, 1270, 5638, 6812, 7951, 11737, 16360, 22840, 25394, 33394 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Also, numbers k such that (655*10^k - 7)/9 is prime.
Terms from Kamada.
a(18) > 30000.
LINKS
EXAMPLE
For k=4, 7*R_6 - 5*10^2 = 777777 - 50000 = 727777 which is prime.
MATHEMATICA
Select[Range[0, 30000], PrimeQ[(655*10^#-7)/9 ] &]
PROG
(PARI) for(n=0, 200, if(isprime((655*10^n-7)/9), print1(n, ", "))) \\ Derek Orr, Apr 14 2015
(Magma) [n: n in [0..400] | IsPrime((655*10^n-7) div 9)]; // Vincenzo Librandi, Apr 15 2015
CROSSREFS
Cf. A002275.
Sequence in context: A367124 A222963 A333172 * A174938 A032248 A092504
KEYWORD
more,hard,nonn,changed
AUTHOR
Robert Price, Apr 14 2015
EXTENSIONS
a(18) from Kamada data by Tyler Busby, Apr 17 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 25 09:08 EDT 2024. Contains 371964 sequences. (Running on oeis4.)