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.

A042986 Primes congruent to {0, 1, 2, 3} mod 5.

This page as a plain text file.
%I A042986 #24 Apr 29 2025 13:36:04
%S A042986 2,3,5,7,11,13,17,23,31,37,41,43,47,53,61,67,71,73,83,97,101,103,107,
%T A042986 113,127,131,137,151,157,163,167,173,181,191,193,197,211,223,227,233,
%U A042986 241,251,257,263,271,277,281,283,293,307,311,313,317,331,337,347,353,367,373,383
%N A042986 Primes congruent to {0, 1, 2, 3} mod 5.
%C A042986 Apart from first term, A143390 is a subsequence. - _Reinhard Zumkeller_, Aug 13 2008
%C A042986 Primes whose last digit is not 9. Complement of A030433 in A000040. - _Chai Wah Wu_, Apr 29 2025
%H A042986 Reinhard Zumkeller, <a href="/A042986/b042986.txt">Table of n, a(n) for n = 1..10000</a>
%t A042986 Select[Prime[Range[100]],MemberQ[{0,1, 2,3},Mod[#,5]]&] (* _Vincenzo Librandi_, Aug 09 2012 *)
%o A042986 (Magma) [ p: p in PrimesUpTo(500) | p mod 5 in [0..3] ]; // _Vincenzo Librandi_, Dec 25 2010
%Y A042986 Cf. A000040, A030433.
%K A042986 nonn,easy
%O A042986 1,1
%A A042986 _N. J. A. Sloane_