Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.
%I #10 Sep 08 2022 08:46:03
%S 2,5,19,43,59,97,157,173,191,211,229,233,271,347,401,419,439,457,461,
%T 499,571,613,647,727,743,761,857,971,1009,1031,1069,1103,1123,1217,
%U 1237,1259,1297,1373,1427,1483,1487,1559,1579,1597,1601,1693,1753,1787,1867
%N Primes congruent to {0, 1, 2, 5} mod 19.
%H Vincenzo Librandi, <a href="/A215274/b215274.txt">Table of n, a(n) for n = 1..1000</a>
%t Select[Prime[Range[600]],MemberQ[{0, 1, 2, 5},Mod[#,19]]&]
%t Select[Flatten[#+{0,1,2,5}&/@(19*Range[0,100])],PrimeQ] (* _Harvey P. Dale_, Mar 01 2019 *)
%o (Magma) [ p: p in PrimesUpTo(2000) | p mod 19 in {0, 1, 2, 5} ];
%Y Cf. A000040, A045358.
%K nonn,easy
%O 1,1
%A _Vincenzo Librandi_, Aug 07 2012