login
Primes congruent to {0, 2, 3, 4} mod 19.
1

%I #5 Sep 08 2022 08:46:03

%S 2,3,19,23,41,59,61,79,97,137,173,193,211,251,269,307,383,401,421,439,

%T 479,593,631,743,821,839,857,859,877,953,971,991,1009,1049,1087,1123,

%U 1163,1181,1201,1237,1277,1409,1427,1429,1447,1523,1543,1579,1619

%N Primes congruent to {0, 2, 3, 4} mod 19.

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

%t Select[Prime[Range[400]],MemberQ[{0,2,3,4},Mod[#,19]]&]

%o (Magma) [p: p in PrimesUpTo(2000) | p mod 19 in [0, 2, 3, 4]];

%Y Cf. A000040, A042991, A045325.

%K nonn,easy

%O 1,1

%A _Vincenzo Librandi_, Aug 09 2012