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!)
A045367 Primes congruent to {1, 2, 5} mod 7. 1

%I

%S 2,5,19,23,29,37,43,47,61,71,79,89,103,107,113,127,131,149,163,173,

%T 191,197,211,229,233,239,257,271,281,313,317,331,337,359,373,379,383,

%U 397,401,421,439,443,449,457,463

%N Primes congruent to {1, 2, 5} mod 7.

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

%t Select[Prime[Range[300]],MemberQ[{1,2,5},Mod[#,7]]&] (* _Vincenzo Librandi_, Aug 10 2012 *)

%o (MAGMA) [p: p in PrimesUpTo(800) | p mod 7 in [1, 2, 5]]; // _Vincenzo Librandi_, Aug 10 2012

%Y Cf. A000040.

%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 16 20:11 EDT 2022. Contains 353720 sequences. (Running on oeis4.)