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.

A045391 Primes congruent to {1, 2} mod 7.

This page as a plain text file.
%I A045391 #14 Sep 08 2022 08:44:56
%S A045391 2,23,29,37,43,71,79,107,113,127,149,163,191,197,211,233,239,281,317,
%T A045391 331,337,359,373,379,401,421,443,449,457,463,491,499,541,547,569,617,
%U A045391 631,653,659,673,701,709,743,751
%N A045391 Primes congruent to {1, 2} mod 7.
%H A045391 Vincenzo Librandi, <a href="/A045391/b045391.txt">Table of n, a(n) for n = 1..1000</a>
%t A045391 Select[Prime[Range[300]],MemberQ[{1,2},Mod[#,7]]&] (* _Vincenzo Librandi_, Aug 10 2012 *)
%t A045391 Select[Flatten[#+{1,2}&/@(7*Range[0,120])],PrimeQ] (* _Harvey P. Dale_, Sep 15 2019 *)
%o A045391 (Magma) [p: p in PrimesUpTo(1000) | p mod 7 in [1, 2]]; // _Vincenzo Librandi_, Aug 10 2012
%Y A045391 Cf. A000040, A045344, A045372.
%K A045391 nonn,easy
%O A045391 1,1
%A A045391 _N. J. A. Sloane_