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

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

%S 71,317,563,727,809,1301,2039,2203,2531,2777,3023,3187,3433,3761,4007,

%T 4253,4663,4909,5237,5483,5647,6221,6959,7369,7451,8353,8599,8681,

%U 9091,9173,9337,9419,9829,10321,10567,11059,11551,11633,12043,12289,12781,13109,14011

%N Primes congruent to 30 mod 41.

%H Harvey P. Dale, <a href="/A142227/b142227.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[30,14100,41],PrimeQ] (* _Harvey P. Dale_, May 09 2012 *)

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

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

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

%Y Cf. A000040.

%K nonn,easy

%O 1,1

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