login
Primes congruent to {2, 3, 5, 6} (mod 7).
2

%I #14 Jun 26 2022 23:55:13

%S 2,3,5,13,17,19,23,31,37,41,47,59,61,73,79,83,89,97,101,103,107,131,

%T 139,149,157,163,167,173,181,191,199,223,227,229,233,241,251,257,269,

%U 271,283,293,307,311,313,317,331,349,353,359,367,373,383,397,401,409

%N Primes congruent to {2, 3, 5, 6} (mod 7).

%H Vincenzo Librandi, <a href="/A045312/b045312.txt">Table of n, a(n) for n = 1..6000</a>

%t Select[Prime[Range[120]], MemberQ[{2, 3, 5, 6}, Mod[#, 7]] &] (* _Vladimir Joseph Stephan Orlovsky_, Feb 18 2012 *)

%K nonn

%O 1,1

%A _N. J. A. Sloane_