Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.
%I #15 Sep 08 2022 08:45:36
%S 59,223,797,1289,1453,1699,2027,2273,2437,2683,3011,3257,4159,4241,
%T 4651,4733,5471,5717,5881,6373,6619,6701,6947,7193,7603,8423,8669,
%U 9161,9817,10391,10883,11047,11621,11867,12113,12277,13999,14081,14327,14737,14983
%N Primes congruent to 18 mod 41.
%H Vincenzo Librandi, <a href="/A142215/b142215.txt">Table of n, a(n) for n = 1..1000</a>
%F a(n) ~ 40n log n. - _Charles R Greathouse IV_, Jul 03 2016
%t Select[Range[18,30000,41],PrimeQ] (* _Vladimir Joseph Stephan Orlovsky_, Jun 03 2011 *)
%t Select[Prime[Range[5000]],MemberQ[{18},Mod[#,41]]&] (* _Vincenzo Librandi_, Aug 23 2012 *)
%o (Magma) [p: p in PrimesUpTo(16000) | p mod 41 eq 18 ]; // _Vincenzo Librandi_, Aug 23 2012
%o (PARI) is(n)=isprime(n) && n%41==18 \\ _Charles R Greathouse IV_, Jul 03 2016
%Y Cf. A000040, A142214.
%K nonn,easy
%O 1,1
%A _N. J. A. Sloane_, Jul 11 2008