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

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

%S 2,3,5,17,29,31,41,43,53,67,79,83,107,109,131,157,173,197,199,211,223,

%T 239,251,263,277,313,317,353,367,379,419,421,431,433,443,457,499,509,

%U 521,523,547,563,577,587,599,601,613,641,653,677,691,719,733,743

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

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

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

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

%Y Cf. A000040, A044042.

%K nonn,easy

%O 1,1

%A _Vincenzo Librandi_, Aug 08 2012