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

%I #10 Jun 26 2022 23:55:06

%S 2,3,5,17,19,23,29,31,37,43,47,59,61,71,73,79,89,101,103,107,113,127,

%T 131,149,157,163,173,191,197,199,211,227,229,233,239,241,257,269,271,

%U 281,283,311,313,317,331,337,353

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

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

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

%o (Magma) [p: p in PrimesUpTo(500) | p mod 7 in [1, 2, 3, 5]]; // _Vincenzo Librandi_, Aug 08 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 April 19 18:05 EDT 2024. Contains 371798 sequences. (Running on oeis4.)