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.

A045382 Primes congruent to {2, 7} mod 8.

This page as a plain text file.
%I A045382 #16 Sep 08 2022 08:44:55
%S A045382 2,7,23,31,47,71,79,103,127,151,167,191,199,223,239,263,271,311,359,
%T A045382 367,383,431,439,463,479,487,503,599,607,631,647,719,727,743,751,823,
%U A045382 839,863,887,911,919,967,983,991
%N A045382 Primes congruent to {2, 7} mod 8.
%H A045382 Ray Chandler, <a href="/A045382/b045382.txt">Table of n, a(n) for n = 1..10000</a> (first 1000 terms from Vincenzo Librandi)
%F A045382 a(n) = A007522(n), n >= 1. _R. J. Mathar_, Nov 22 2006
%t A045382 Select[Prime[Range[300]],MemberQ[{2, 7},Mod[#,8]]&] (* _Vincenzo Librandi_, Aug 11 2012 *)
%o A045382 (Magma) [p: p in PrimesUpTo(1100) | p mod 8 in [2, 7]]; // _Vincenzo Librandi_, Aug 11 2012
%Y A045382 Cf. A000040.
%K A045382 nonn,easy
%O A045382 1,1
%A A045382 _N. J. A. Sloane_