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 28 mod 41.
1

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

%S 151,233,397,479,643,971,1217,1381,1627,1709,1873,2447,2693,2857,2939,

%T 3677,3923,5153,5399,5563,6301,6547,6793,7039,7121,8269,8597,8761,

%U 9007,10729,11057,11467,11549,11959,12041,12451,12697,13681,13763,14009,14173,14419

%N Primes congruent to 28 mod 41.

%H Vincenzo Librandi, <a href="/A142225/b142225.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[28,14500,41],PrimeQ] (* _Harvey P. Dale_, Apr 02 2012 *)

%t Select[Prime[Range[5000]],MemberQ[{28},Mod[#,41]]&] (* _Vincenzo Librandi_, Aug 24 2012 *)

%o (Magma) [p: p in PrimesUpTo(17000) | p mod 41 eq 28 ]; // _Vincenzo Librandi_, Aug 24 2012

%o (PARI) is(n)=isprime(n) && n%41==28 \\ _Charles R Greathouse IV_, Jul 03 2016

%Y Cf. A000040.

%K nonn,easy

%O 1,1

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