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 58 mod 59.
3

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

%S 353,1061,1297,2477,2713,3067,3539,4129,4483,5309,6607,6961,7079,7433,

%T 7669,8377,8731,8849,9203,9439,10501,10973,11681,12743,12979,13451,

%U 13687,14159,14867,16519,17581,18289,19469,20177,21121,23599,24071,25841,26431,26903

%N Primes congruent to 58 mod 59.

%H Vincenzo Librandi, <a href="/A142785/b142785.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[Prime[Range[3000]], MemberQ[{58}, Mod[#, 59]] &] (* _Vincenzo Librandi_, Sep 04 2012 *)

%t Select[Range[58,27000,59],PrimeQ] (* _Harvey P. Dale_, Jul 17 2015 *)

%o (Magma) [p: p in PrimesUpTo(27000) | p mod 59 eq 58 ]; // _Vincenzo Librandi_, Sep 04 2012

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

%Y Cf. A000040.

%K nonn,easy

%O 1,1

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