login

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

Primes congruent to {2, 3} mod 17.
2

%I #9 Sep 08 2022 08:46:02

%S 2,3,19,37,53,71,139,173,223,241,257,359,461,479,547,563,631,683,733,

%T 751,853,887,937,971,1039,1091,1193,1277,1447,1481,1499,1549,1567,

%U 1583,1601,1669,1753,1787,1873,1889,1907,2111,2161,2179,2213,2281,2297,2383

%N Primes congruent to {2, 3} mod 17.

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

%t Select[Prime[Range[3000]],MemberQ[{2,3},Mod[#,17]]&]

%t Select[Flatten[(#+{2,3})&/@(17*Range[0,150])],PrimeQ] (* _Harvey P. Dale_, Aug 22 2020 *)

%o (Magma) [p: p in PrimesUpTo(3000) | p mod 17 in [2, 3]];

%Y Cf. A000040, A003631, A045343.

%K nonn

%O 1,1

%A _Vincenzo Librandi_, Aug 03 2012