login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

Primes congruent to {0, 5, 6} mod 7.
1

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

%S 5,7,13,19,41,47,61,83,89,97,103,131,139,167,173,181,223,229,251,257,

%T 271,293,307,313,349,383,397,419,433,439,461,467,503,509,523,587,593,

%U 601,607,643,677,691,719,727,733

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

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

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

%o (Magma) [ p: p in PrimesUpTo(1000) | p mod 7 in {0, 5, 6} ]; // _Vincenzo Librandi_, Aug 13 2012

%Y Cf. A000040.

%K nonn,easy

%O 1,1

%A _N. J. A. Sloane_