login
Primes congruent to {1, 3} mod 5.
10

%I #17 Sep 08 2022 08:44:56

%S 3,11,13,23,31,41,43,53,61,71,73,83,101,103,113,131,151,163,173,181,

%T 191,193,211,223,233,241,251,263,271,281,283,293,311,313,331,353,373,

%U 383,401,421,431,433,443,461,463,491,503,521,523,541,563,571,593,601,613,631,641

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

%C A039703(A049084(a(n))) = odd; complement of A045356. - _Reinhard Zumkeller_, Feb 25 2008

%H R. Zumkeller, <a href="/A045429/b045429.txt">Table of n, a(n) for n = 1..1001</a>

%t Select[Prime[Range[200]], MemberQ[{1, 3}, Mod[#, 5]] &] (* _Vincenzo Librandi_, Aug 13 2012 *)

%t Select[Prime[Range[200]], OddQ[Mod[#, 5]] &] (* _Zak Seidov_, Aug 31 2012 *)

%o (Magma) [ p: p in PrimesUpTo(600) | p mod 5 in {1,3} ]; // _Vincenzo Librandi_, Aug 13 2012

%Y Cf. A000040, A045415, A137978.

%K nonn,easy

%O 1,1

%A _N. J. A. Sloane_