login
Primes of the form 4*10^k + 3*R_k, where R_k is the repunit (A002275) of length k.
3

%I #14 Dec 18 2022 13:17:32

%S 43,433,43333333333333333,43333333333333333333333333333333,

%T 43333333333333333333333333333333333333,

%U 43333333333333333333333333333333333333333333333333333333

%N Primes of the form 4*10^k + 3*R_k, where R_k is the repunit (A002275) of length k.

%H Harvey P. Dale, <a href="/A093673/b093673.txt">Table of n, a(n) for n = 1..11</a>

%H Makoto Kamada, <a href="https://stdkmd.net/nrr/4/43333.htm#prime">Prime numbers of the form 433...33</a>.

%H <a href="/index/Pri#Pri_rep">Index entries for primes involving repunits</a>

%t Select[Table[FromDigits[PadRight[{4},n,3]],{n,60}],PrimeQ] (* _Harvey P. Dale_, Dec 18 2022 *)

%Y Cf. A002275, A056707 (corresponding k).

%K nonn

%O 1,1

%A _Rick L. Shepherd_, Apr 08 2004