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

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

%S 2,3,5,17,29,31,41,43,67,83,107,109,173,197,199,211,223,239,251,263,

%T 277,317,353,367,379,419,421,431,433,457,499,509,523,563,577,587,601,

%U 613,641,653,691,719,733,743,757,769,797,809,811,821,823,863

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

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

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

%o (Magma) [p: p in PrimesUpTo(1000) | p mod 13 in [2..5]];

%Y Cf. A000040, A045308.

%K nonn,easy

%O 1,1

%A _Vincenzo Librandi_, Aug 08 2012