%I #12 Sep 08 2022 08:45:36
%S 23,269,433,761,1171,1499,1663,2237,2647,2729,3221,3467,3631,3877,
%T 4451,4861,4943,5107,5189,5927,6091,6173,6337,6829,6911,7321,7649,
%U 8059,8387,9043,9371,9781,10273,10601,10847,11093,11257,11503,11831,12241,12323,12487
%N Primes congruent to 23 mod 41.
%H Vincenzo Librandi, <a href="/A142220/b142220.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[Prime[Range[5000]],MemberQ[{23},Mod[#,41]]&] (* _Vincenzo Librandi_, Aug 24 2012 *)
%t Select[Range[23,13000,41],PrimeQ] (* _Harvey P. Dale_, Aug 21 2016 *)
%o (Magma) [p: p in PrimesUpTo(17000) | p mod 41 eq 23 ]; // _Vincenzo Librandi_, Aug 24 2012
%o (PARI) is(n)=isprime(n) && n%41==23 \\ _Charles R Greathouse IV_, Jul 02 2016
%Y Cf. A000040.
%K nonn,easy
%O 1,1
%A _N. J. A. Sloane_, Jul 11 2008