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!)
A259050 Numbers k such that 3*R_k + 10^k - 2 is prime, where R_k = 11...11 is the repunit (A002275) of length k. 3
1, 2, 4, 6, 94, 160, 360, 1470, 2898, 3094, 3112, 15698, 17956, 42262, 111032 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Also, numbers k such that (4*10^k - 7)/3 is prime.
Terms from Kamada data.
a(16) > 2*10^5.
The corresponding primes are a subset of the palindromes A185127 with a(n)+1 digits [1, 3 repeated a(n)-1 times, 1]: 11, 131, 13331, 1333331, ..., which can be expressed as 2*6-1, 2*66-1, 2*6666-1, 2*666666-1, ... . - Hugo Pfoertner, Jul 22 2020
LINKS
EXAMPLE
For k=4, 3*R_4 + 10^k - 2 = 3333 + 10000 - 2 = 13331 which is prime.
MATHEMATICA
Select[Range[0, 200000], PrimeQ[(4*10^#-7)/3] &]
PROG
(Magma) [n: n in [0..500] | IsPrime((4*10^n-7) div 3)]; // Vincenzo Librandi, Jun 18 2015
(PARI) for(k=1, 1500, if(ispseudoprime(4*(10^k-1)/3-1), print1(k, ", "))) \\ Hugo Pfoertner, Jul 22 2020
CROSSREFS
Sequence in context: A098757 A335709 A056012 * A066719 A345269 A345092
KEYWORD
nonn,hard,more
AUTHOR
Robert Price, Jun 17 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 23 01:19 EDT 2024. Contains 371906 sequences. (Running on oeis4.)