login
Primes congruent to {2, 5} mod 17.
1

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

%S 2,5,19,53,73,107,223,257,277,311,359,379,461,563,617,631,719,733,787,

%T 821,937,971,991,1039,1093,1229,1277,1297,1399,1433,1447,1481,1549,

%U 1583,1637,1753,1787,1889,2011,2113,2161,2297,2351,2399,2467,2521,2657,2671

%N Primes congruent to {2, 5} mod 17.

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

%t Select[Prime[Range[3000]],MemberQ[{2,5},Mod[#,17]]&]

%o (Magma) [ p: p in PrimesUpTo(3000) | p mod 17 in {2, 5} ];

%Y Cf. A000040, A045368.

%K nonn,easy

%O 1,1

%A _Vincenzo Librandi_, Aug 06 2012