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 22 mod 37.
3

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

%S 59,281,503,577,947,1021,1613,2131,2797,3019,3167,3389,3463,3833,3907,

%T 4129,4721,4943,5387,5683,6053,6571,6719,6793,7237,7459,7607,7681,

%U 7829,8273,9013,9161,9679,9901,10271,10567,10789,10937,11159,11677,12269,12343,12491

%N Primes congruent to 22 mod 37.

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

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

%t Select[Range[22,30000,37],PrimeQ] (* _Vladimir Joseph Stephan Orlovsky_, May 11 2011 *)

%t Select[Prime[Range[5000]],MemberQ[{22},Mod[#,37]]&] (* _Vincenzo Librandi_, Aug 19 2012 *)

%o (Magma) [p: p in PrimesUpTo(15000) | p mod 37 eq 22 ]; // _Vincenzo Librandi_, Aug 19 2012

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

%Y Cf. A000040, A142129, A142130.

%K nonn,easy

%O 1,1

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