%I #16 Sep 08 2022 08:44:55
%S 2,7,11,17,31,37,41,47,61,67,71,97,101,107,127,131,137,151,157,167,
%T 181,191,197,211,227,241,251,257,271,277,281,307,311,317,331,337,347,
%U 367,397,401,421,431,457,461,467
%N Primes congruent to {1, 2} mod 5.
%H Vincenzo Librandi, <a href="/A045372/b045372.txt">Table of n, a(n) for n = 1..1000</a>
%t Select[Prime[Range[100]],MemberQ[{1,2},Mod[#,5]]&] (* _Harvey P. Dale_, Jul 27 2012 *)
%o (Magma) [p: p in PrimesUpTo(600) | p mod 5 in [1, 2]]; // _Vincenzo Librandi_, Aug 10 2012
%Y Cf. A045413 (complement), A045344, A045391.
%K nonn,easy
%O 1,1
%A _N. J. A. Sloane_
%E Edited by _Charles R Greathouse IV_, Mar 25 2010
|