login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A045392 Primes congruent to 2 mod 7. 13

%I #19 Sep 08 2022 08:44:56

%S 2,23,37,79,107,149,163,191,233,317,331,359,373,401,443,457,499,541,

%T 569,653,709,751,821,863,877,919,947,1031,1087,1129,1171,1213,1283,

%U 1297,1367,1381,1409,1423,1451,1493,1549,1619,1759,1787,1801,1871,1913,1997

%N Primes congruent to 2 mod 7.

%H Vincenzo Librandi, <a href="/A045392/b045392.txt">Table of n, a(n) for n = 1..1000</a>

%t Select[Range[2, 50000, 7], PrimeQ] (* _Vladimir Joseph Stephan Orlovsky_, Jun 13 2011 *)

%o (Magma) [p: p in PrimesUpTo(2000) | p mod 7 eq 2]; // _Vincenzo Librandi_, Aug 07 2012

%o (PARI) is(n)=isprime(n) && n%7==2 \\ _Charles R Greathouse IV_, Jul 01 2016

%Y Cf. A045437, A045458, A045471.

%K nonn,easy

%O 1,1

%A _N. J. A. Sloane_

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 12 16:52 EDT 2024. Contains 372492 sequences. (Running on oeis4.)