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.

A045338 Primes congruent to {2, 3, 4} mod 7.

This page as a plain text file.
%I A045338 #11 Jun 26 2022 23:07:35
%S A045338 2,3,11,17,23,31,37,53,59,67,73,79,101,107,109,137,149,151,157,163,
%T A045338 179,191,193,199,227,233,241,263,269,277,283,311,317,331,347,353,359,
%U A045338 367,373,389,401,409,431,443,457
%N A045338 Primes congruent to {2, 3, 4} mod 7.
%H A045338 Vincenzo Librandi, <a href="/A045338/b045338.txt">Table of n, a(n) for n = 1..1000</a>
%F A045338 a(n) ~ 2n log n. - _Charles R Greathouse IV_, Aug 07 2012
%t A045338 Select[Prime[Range[300]],MemberQ[{2,3,4},Mod[#,7]]&] (* _Vincenzo Librandi_, Aug 07 2012 *)
%o A045338 (Magma) [ p: p in PrimesUpTo(600) | p mod 7 in {2, 3, 4} ]; // _Vincenzo Librandi_, Aug 07 2012
%o A045338 (PARI) select(n->n%7>1 && n%7<5, primes(60)) \\ _Charles R Greathouse IV_, Aug 07 2012
%Y A045338 Cf. A000040, A045327.
%K A045338 nonn,easy
%O A045338 1,1
%A A045338 _N. J. A. Sloane_