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

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

%S 2,5,19,23,43,59,61,97,101,137,139,157,173,191,211,229,233,251,271,

%T 347,367,401,419,439,443,457,461,479,499,557,571,593,613,631,647,709,

%U 727,743,761,821,823,857,859,937,971,1009,1013,1031,1049,1051,1069,1087

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

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

%t Select[Prime[Range[300]],MemberQ[{0,1,2,4,5,6},Mod[#,19]]&]

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

%Y Cf. A000040, A045346.

%K nonn,easy

%O 1,1

%A _Vincenzo Librandi_, Aug 10 2012