login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A092480
Primes of the form 40*R_k + 7, where R_k is the repunit (A002275) of length k.
2
7, 47, 4447, 4444444447, 44444444444444444447, 44444444444444444444444447
OFFSET
1,1
COMMENTS
Primes of the form ((4*10^k - 31)/9) + 6. - Vincenzo Librandi, Dec 13 2011
The next term has 722 digits. - Harvey P. Dale, Jan 19 2020
MATHEMATICA
Select[Table[(((4*10^n-31)/ 9)+6), {n, 1, 800}], PrimeQ] (* Vincenzo Librandi, Dec 13 2011 *)
Select[Table[FromDigits[PadLeft[{7}, n, 4]], {n, 30}], PrimeQ] (* Harvey P. Dale, Jan 19 2020 *)
PROG
(Magma) [a: n in [1..720] | IsPrime(a) where a is ((4*10^n-31) div 9)+6 ]; // Vincenzo Librandi, Dec 13 2011
CROSSREFS
Cf. A056682 (corresponding k).
Sequence in context: A013403 A013401 A020465 * A354211 A292067 A088143
KEYWORD
nonn
AUTHOR
Rick L. Shepherd, Apr 03 2004
STATUS
approved