cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A042991 Primes congruent to {0, 2, 3, 4} (mod 5).

This page as a plain text file.
%I A042991 #20 Jun 26 2022 23:16:50
%S A042991 2,3,5,7,13,17,19,23,29,37,43,47,53,59,67,73,79,83,89,97,103,107,109,
%T A042991 113,127,137,139,149,157,163,167,173,179,193,197,199,223,227,229,233,
%U A042991 239,257,263,269,277,283,293,307
%N A042991 Primes congruent to {0, 2, 3, 4} (mod 5).
%C A042991 Complement of A030430 relative to A000040. [_Bruno Berselli_, Jan 26 2016]
%H A042991 Vincenzo Librandi, <a href="/A042991/b042991.txt">Table of n, a(n) for n = 1..1000</a>
%t A042991 Select[Prime[Range[200]],MemberQ[{0,2,3,4},Mod[#,5]]&] (* _Vincenzo Librandi_, Aug 09 2012 *)
%o A042991 (Magma) [p: p in PrimesUpTo(500) | p mod 5 in [0,2,3,4]]; // _Vincenzo Librandi_, Aug 09 2012
%Y A042991 Cf. A000040, A030430.
%Y A042991 Has same beginning as A040159 but is strictly different.
%K A042991 nonn,easy
%O A042991 1,1
%A A042991 _N. J. A. Sloane_