%I #16 Sep 08 2022 08:45:35
%S 37,223,347,409,719,967,1091,1153,1277,2083,2207,2269,2393,2579,3137,
%T 3323,3571,3881,3943,4129,4253,5059,5431,5741,5927,6113,6299,6361,
%U 6547,6733,6857,7043,7229,7477,8221,8779,9151,9337,9461,9833,10267,10391,10453,10639
%N Primes congruent to 6 mod 31.
%H Vincenzo Librandi, <a href="/A142010/b142010.txt">Table of n, a(n) for n = 1..1000</a>
%F a(n) ~ 30n log n. - _Charles R Greathouse IV_, Jul 02 2016
%t Select[Range[6,20000,31],PrimeQ] (* _Vladimir Joseph Stephan Orlovsky_, Apr 20 2011 *)
%o (Magma) [ p: p in PrimesUpTo(30000) | p mod 31 eq 6 ]; // _Vincenzo Librandi_, Apr 20 2011
%o (PARI) is(n)=isprime(n) && n%31==6 \\ _Charles R Greathouse IV_, Jul 02 2016
%Y Cf. A000040, A142005, A142006.
%K nonn,easy
%O 1,1
%A _N. J. A. Sloane_, Jul 11 2008