Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).
%I #11 Sep 08 2022 08:45:37
%S 79,811,1543,1787,2153,3251,3373,3617,3739,4349,5081,5569,5813,6301,
%T 6911,7643,8009,8741,8863,9473,9839,10937,11059,12157,12401,12889,
%U 13499,15329,15451,15817,16061,16183,16427,17159,17891,18013,18257,18379,19477,19843
%N Primes congruent to 18 mod 61.
%H Vincenzo Librandi, <a href="/A142816/b142816.txt">Table of n, a(n) for n = 1..1000</a>
%t Select[Prime[Range[2300]],Mod[#,61]==18&] (* _Harvey P. Dale_, Mar 27 2011 *)
%t Select[Prime[Range[2500]], MemberQ[{18}, Mod[#, 61]] &] (* _Vincenzo Librandi_, Sep 05 2012 *)
%t Select[Range[18, 20000, 61], PrimeQ] (* _Bruno Berselli_, Sep 05 2012 *)
%o (Magma) [p: p in PrimesUpTo(20000) | p mod 61 eq 18]; // _Vincenzo Librandi_, Sep 05 2012
%Y Cf. A000040.
%K nonn,easy
%O 1,1
%A _N. J. A. Sloane_, Jul 11 2008