Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).
%I #19 Sep 08 2022 08:44:55
%S 2,3,5,7,11,13,17,23,31,37,41,43,47,53,61,67,71,73,83,97,101,103,107,
%T 113,127,131,137,151,157,163,167,173,181,191,193,197,211,223,227,233,
%U 241,251,257,263,271,277,281,283,293,307,311,313,317,331,337,347,353,367,373,383
%N Primes congruent to {0, 1, 2, 3} mod 5.
%C Apart from first term, A143390 is a subsequence. - _Reinhard Zumkeller_, Aug 13 2008
%H R. Zumkeller, <a href="/A042986/b042986.txt">Table of n, a(n) for n = 1..10000</a>
%t Select[Prime[Range[100]],MemberQ[{0,1, 2,3},Mod[#,5]]&] (* _Vincenzo Librandi_, Aug 09 2012 *)
%o (Magma) [ p: p in PrimesUpTo(500) | p mod 5 in [0..3] ]; // _Vincenzo Librandi_, Dec 25 2010
%K nonn,easy
%O 1,1
%A _N. J. A. Sloane_