login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A045393 Primes congruent to {0, 1, 3, 4, 5, 6} mod 7. 1

%I

%S 3,5,7,11,13,17,19,29,31,41,43,47,53,59,61,67,71,73,83,89,97,101,103,

%T 109,113,127,131,137,139,151,157,167,173,179,181,193,197,199,211,223,

%U 227,229,239,241,251,257,263

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

%C Or, primes not congruent to 2 mod 7, i.e., primes not in A045392. - _M. F. Hasler_, Feb 21 2015

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

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

%o (MAGMA) [p: p in PrimesUpTo(400) | p mod 7 in [0, 1, 3, 4, 5, 6]]; // _Vincenzo Librandi_, Aug 11 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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 13 10:56 EDT 2021. Contains 343839 sequences. (Running on oeis4.)