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

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

%S 2,3,5,19,23,37,53,71,73,103,107,137,139,173,193,223,227,239,241,257,

%T 277,307,311,359,379,397,409,431,443,461,479,499,547,563,601,613,617,

%U 631,647,683,719,733,751,787,821,839,853,887,907,919,937,941,953

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

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

%t Select[Prime[Range[400]],MemberQ[{1,2,3,5,6},Mod[#,17]]&]

%o (Magma) [p: p in PrimesUpTo(1000) | p mod 17 in [1, 2, 3, 5, 6]];

%Y Cf. A000040, A045311.

%K nonn,easy

%O 1,1

%A _Vincenzo Librandi_, Aug 08 2012