A093671 Primes of the form 10^k + 3*R_k, where R_k is the repunit (A002275) of length k.
13, 1333333333333333, 133333333333333333333333333333333333333333, 133333333333333333333333333333333333333333333333333333333333333333333333333333333333
Offset: 1
Keywords
Links
- Vincenzo Librandi, Table of n, a(n) for n = 1..9
- Makoto Kamada, Prime numbers of the form 133...33.
- Index entries for primes involving repunits
Programs
-
Magma
[a: n in [0..100] | IsPrime(a) where a is ((4*10^n-1) div 3)]; // Vincenzo Librandi, Apr 06 2019
-
Mathematica
Select[Table[FromDigits[PadRight[{1}, n, 3]], {n, 500}], PrimeQ] (* Vincenzo Librandi, Apr 06 2019 *)