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 #13 Sep 08 2022 08:45:37
%S 127,599,953,1307,1543,2251,3313,4021,4139,4493,4729,5437,5791,6263,
%T 6971,7207,7561,8269,8387,8623,8741,9803,10039,11927,12163,12281,
%U 12517,13697,13933,14051,14759,15349,15467,16057,16411,16529,16883,17827,18181,19597
%N Primes congruent to 9 mod 59.
%H Vincenzo Librandi, <a href="/A142736/b142736.txt">Table of n, a(n) for n = 1..1000</a>
%F a(n) ~ 58n log n. - _Charles R Greathouse IV_, Jul 03 2016
%t Select[Range[9, 30000, 118], PrimeQ] (* _Vladimir Joseph Stephan Orlovsky_, Jul 15 2011 *)
%t Select[Prime[Range[2500]], MemberQ[{9}, Mod[#, 59]] &] (* _Vincenzo Librandi_, Sep 02 2012 *)
%o (Magma) [p: p in PrimesUpTo(20000) | p mod 59 eq 9 ]; // _Vincenzo Librandi_, Sep 02 2012
%o (PARI) is(n)=isprime(n) && n%59==9 \\ _Charles R Greathouse IV_, Jul 03 2016
%Y Cf. A000040, A142730, A142732, A142734.
%K nonn,easy
%O 1,1
%A _N. J. A. Sloane_, Jul 11 2008