login
Primes congruent to {0, 1, 2, 4, 5, 6} mod 11.
1

%I #8 Apr 01 2023 17:58:00

%S 2,5,11,13,17,23,37,59,61,67,71,79,83,89,101,103,127,137,149,167,181,

%T 191,193,199,211,233,257,269,277,281,313,331,347,353,367,379,389,397,

%U 401,409,419,431,433,457,463,467,479,499,521,523,541,563,577,587,599

%N Primes congruent to {0, 1, 2, 4, 5, 6} mod 11.

%H Vincenzo Librandi, <a href="/A215423/b215423.txt">Table of n, a(n) for n = 1..1000</a>

%t Select[Prime[Range[300]],MemberQ[{0,1,2,4,5,6},Mod[#,11]]&]

%t Select[Flatten[#+{0,1,2,4,5,6}&/@(11*Range[0,60])],PrimeQ] (* _Harvey P. Dale_, Apr 01 2023 *)

%o (Magma) [p: p in PrimesUpTo(600) | p mod 11 in [0, 1, 2, 4, 5, 6]];

%Y Cf. A000040, A045346.

%K nonn,easy

%O 1,1

%A _Vincenzo Librandi_, Aug 10 2012