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”).

A093011
Primes of the form 10*R_k + 3, where R_k is the repunit (A002275) of length k.
3
3, 13, 113, 11113, 111111113, 11111111113, 111111111111111111111113, 111111111111111111111111111111111111111111111111111111111111111111111111111111111113
OFFSET
1,1
COMMENTS
Primes of the form 2 + (10^k - 1)/9, k > 0. - Vincenzo Librandi, Dec 13 2011
MATHEMATICA
Select[Table[(((10^n-1)/ 9)+2), {n, 1, 900}], PrimeQ] (* Vincenzo Librandi, Dec 13 2011 *)
PROG
(Magma) [a: n in [1..100] | IsPrime(a) where a is ((10^n-1) div 9)+2 ]; // Vincenzo Librandi, Dec 13 2011
CROSSREFS
Cf. A056654 (corresponding k).
Sequence in context: A053583 A077713 A119723 * A262147 A364327 A057865
KEYWORD
nonn
AUTHOR
Rick L. Shepherd, Mar 14 2004
STATUS
approved