login

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”).

Primes congruent to 15 mod 59.
4

%I #12 Sep 08 2022 08:45:37

%S 251,487,1549,1667,2729,3083,3319,3673,4027,5443,6151,6269,6977,7213,

%T 7331,8039,8629,8747,9337,10163,10399,10753,11579,11933,12641,14057,

%U 14293,14411,15473,16063,16417,16889,17597,18541,19013,19249,19603,21019,21491,21727

%N Primes congruent to 15 mod 59.

%H Vincenzo Librandi, <a href="/A142742/b142742.txt">Table of n, a(n) for n = 1..1000</a>

%F a(n) ~ 58n log n. - _Charles R Greathouse IV_, Jul 02 2016

%t Select[Range[15, 30000, 118], PrimeQ] (* _Vladimir Joseph Stephan Orlovsky_, Jul 15 2011 *)

%t Select[Prime[Range[2600]], MemberQ[{15}, Mod[#, 59]] &] (* _Vincenzo Librandi_, Sep 02 2012 *)

%o (Magma) [p: p in PrimesUpTo(22000) | p mod 59 eq 15 ]; // _Vincenzo Librandi_, Sep 02 2012

%o (PARI) is(n)=isprime(n) && n%59==15 \\ _Charles R Greathouse IV_, Jul 02 2016

%Y Cf. A000040, A142738, A142740.

%K nonn,easy

%O 1,1

%A _N. J. A. Sloane_, Jul 11 2008