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.

A045392 Primes congruent to 2 mod 7.

This page as a plain text file.
%I A045392 #22 Apr 29 2025 04:54:09
%S A045392 2,23,37,79,107,149,163,191,233,317,331,359,373,401,443,457,499,541,
%T A045392 569,653,709,751,821,863,877,919,947,1031,1087,1129,1171,1213,1283,
%U A045392 1297,1367,1381,1409,1423,1451,1493,1549,1619,1759,1787,1801,1871,1913,1997
%N A045392 Primes congruent to 2 mod 7.
%C A045392 2 and primes congruent to 9 mod 14. - _Chai Wah Wu_, Apr 28 2025
%H A045392 Vincenzo Librandi, <a href="/A045392/b045392.txt">Table of n, a(n) for n = 1..1000</a>
%t A045392 Select[Range[2, 50000, 7], PrimeQ] (* _Vladimir Joseph Stephan Orlovsky_, Jun 13 2011 *)
%o A045392 (Magma) [p: p in PrimesUpTo(2000) | p mod 7 eq 2]; // _Vincenzo Librandi_, Aug 07 2012
%o A045392 (PARI) is(n)=isprime(n) && n%7==2 \\ _Charles R Greathouse IV_, Jul 01 2016
%Y A045392 Cf. A045437, A045458, A045471.
%K A045392 nonn,easy
%O A045392 1,1
%A A045392 _N. J. A. Sloane_