%I #22 Sep 08 2022 08:44:56
%S 3,11,13,19,23,29,31,41,43,53,59,61,71,73,79,83,89,101,103,109,113,
%T 131,139,149,151,163,173,179,181,191,193,199,211,223,229,233,239,241,
%U 251,263,269,271,281,283,293,311
%N Primes congruent to {1, 3, 4} mod 5.
%C Same as A045405 except for the term 5. - _Michel Marcus_, Sep 14 2015
%H Vincenzo Librandi, <a href="/A045428/b045428.txt">Table of n, a(n) for n = 1..1000</a>
%t Select[Prime[Range[200]],MemberQ[{1,3, 4},Mod[#,5]]&] (* _Vincenzo Librandi_, Aug 13 2012 *)
%o (Magma) [ p: p in PrimesUpTo(600) | p mod 5 in {1,3,4} ]; // _Vincenzo Librandi_, Aug 13 2012
%o (PARI) list(lim)=forprime(p=2,lim,if(p%5==1||p%5==3||p%5==4,print1(p", "))) \\ _Anders Hellström_, Sep 14 2015
%Y Cf. A000040, A045405.
%K nonn,easy
%O 1,1
%A _N. J. A. Sloane_