login
Primes congruent to {7, 17} mod 24.
1

%I #13 Sep 08 2022 08:46:19

%S 7,17,31,41,79,89,103,113,127,137,151,199,223,233,257,271,281,353,367,

%T 401,439,449,463,487,521,569,593,607,617,631,641,727,751,761,809,823,

%U 857,881,919,929,953,967,977,991,1039,1049,1063,1087,1097,1193,1217,1231

%N Primes congruent to {7, 17} mod 24.

%C All these primes do not divide any number of the form 3*2^k - 1. Therefore, they are not in A001915.

%F A107006 UNION A107181.

%t Select[Prime@Range[202], MemberQ[{7, 17}, Mod[#, 24]] &]

%o (Magma) [p: p in PrimesUpTo(1231) | p mod 24 in {7, 17}];

%Y Cf. A001915, A107006, A107181.

%K nonn

%O 1,1

%A _Arkadiusz Wesolowski_, Aug 03 2017