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!)
A045417 Primes congruent to {0, 1, 3, 4, 6} mod 7. 1

%I #12 Mar 22 2023 08:15:10

%S 3,7,11,13,17,29,31,41,43,53,59,67,71,73,83,97,101,109,113,127,137,

%T 139,151,157,167,179,181,193,197,199,211,223,227,239,241,251,263,269,

%U 277,281,283,293,307,311,337,347

%N Primes congruent to {0, 1, 3, 4, 6} mod 7.

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

%t Select[Prime[Range[200]],MemberQ[{0,1,3,4,6},Mod[#,7]]&] (* _Vincenzo Librandi_, Aug 12 2012 *)

%t Select[Flatten[#+{0,1,3,4,6}&/@(7Range[0,50])],PrimeQ] (* _Harvey P. Dale_, Mar 22 2023 *)

%o (Magma) [ p: p in PrimesUpTo(500) | p mod 7 in {0, 1, 3, 4, 6} ]; // _Vincenzo Librandi_, Aug 12 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 18 10:46 EDT 2024. Contains 371779 sequences. (Running on oeis4.)