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

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

%S 2,3,5,19,23,41,43,59,61,79,97,137,157,173,193,211,233,251,269,271,

%T 307,347,383,401,421,439,461,479,499,593,613,631,727,743,821,839,857,

%U 859,877,953,971,991,1009,1031,1049,1069,1087,1123,1163,1181,1201

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

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

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

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

%Y Cf. A000040, A042989.

%K nonn,easy

%O 1,1

%A _Vincenzo Librandi_, Aug 09 2012