%I #12 Sep 08 2022 08:45:35
%S 131,541,787,1033,1279,1361,1607,2017,2099,2591,2837,3001,3083,3329,
%T 3739,3821,4231,4723,4969,5051,5297,5953,6199,6691,7019,7757,8167,
%U 8741,9151,9397,9479,9643,10463,10627,10709,11119,11447,11939,12841,12923,13907,14071
%N Primes congruent to 8 mod 41.
%H Vincenzo Librandi, <a href="/A142205/b142205.txt">Table of n, a(n) for n = 1..1000</a>
%F a(n) ~ 40n log n. - _Charles R Greathouse IV_, Jul 02 2016
%t Select[Range[8,30000,41],PrimeQ] (* _Vladimir Joseph Stephan Orlovsky_, May 17 2011 *)
%t Select[Prime[Range[5000]],MemberQ[{8},Mod[#,41]]&] (* _Vincenzo Librandi_, Aug 23 2012 *)
%o (Magma) [p: p in PrimesUpTo(15000) | p mod 41 eq 8 ]; // _Vincenzo Librandi_, Aug 23 2012
%o (PARI) is(n)=isprime(n) && n%41==8 \\ _Charles R Greathouse IV_, Jul 02 2016
%Y Cf. A000040, A059236, A142199, A142200, A142204.
%K nonn,easy
%O 1,1
%A _N. J. A. Sloane_, Jul 11 2008