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.

A045319 Primes congruent to {1, 2, 3, 4} (mod 5).

This page as a plain text file.
%I A045319 #14 Jun 26 2022 23:54:43
%S A045319 2,3,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,
%T A045319 101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,
%U A045319 191,193,197,199,211,223,227
%N A045319 Primes congruent to {1, 2, 3, 4} (mod 5).
%H A045319 Vincenzo Librandi, <a href="/A045319/b045319.txt">Table of n, a(n) for n = 1..1000</a>
%t A045319 Select[Prime[Range[200]],MemberQ[{1,2,3, 4},Mod[#,5]]&] (* _Vincenzo Librandi_, Aug 08 2012 *)
%o A045319 (Magma) [p: p in PrimesUpTo(400) | p mod 5 in [1, 2, 3, 4]]; // _Vincenzo Librandi_, Aug 08 2012
%o A045319 (PARI) a(n)=if(n>2,prime(n),n+1) \\ _Charles R Greathouse IV_, Jun 29 2015
%Y A045319 Cf. A000040, A045337.
%K A045319 nonn,easy
%O A045319 1,1
%A A045319 _N. J. A. Sloane_