%I #15 Sep 08 2022 08:45:36
%S 17,181,263,509,673,919,1493,1657,2477,2887,2969,3461,4363,4691,4937,
%T 5101,5347,5839,6577,6659,6823,7069,7151,7561,7643,8053,8627,9283,
%U 9857,10103,10267,10513,11087,11251,11497,11579,11743,12071,12809,12973,13219,13711
%N Primes congruent to 17 mod 41.
%H Vincenzo Librandi, <a href="/A142214/b142214.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[17,30000,41],PrimeQ] (* _Vladimir Joseph Stephan Orlovsky_, Jun 03 2011 *)
%t Select[Prime[Range[5000]],MemberQ[{17},Mod[#,41]]&] (* _Vincenzo Librandi_, Aug 23 2012 *)
%o (Magma) [p: p in PrimesUpTo(16000) | p mod 41 eq 17 ]; // _Vincenzo Librandi_, Aug 23 2012
%o (PARI) is(n)=isprime(n) && n%41==17 \\ _Charles R Greathouse IV_, Jul 02 2016
%Y Cf. A000040, A142213.
%K nonn,easy
%O 1,1
%A _N. J. A. Sloane_, Jul 11 2008