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

%I #5 Sep 08 2022 08:46:03

%S 2,5,17,19,31,41,43,67,71,83,97,109,149,173,197,199,223,227,239,251,

%T 277,317,331,353,379,383,409,421,431,433,457,461,487,499,509,563,577,

%U 587,613,617,641,643,691,719,733,743,769,773,797,811,821,823,863,877

%N Primes congruent to {2, 4, 5, 6} mod 13.

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

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

%o (Magma) [ p: p in PrimesUpTo(1000) | p mod 13 in {2, 4, 5, 6} ];

%Y Cf. A000040, A045361.

%K nonn,easy

%O 1,1

%A _Vincenzo Librandi_, Aug 07 2012