login
Primes congruent to 28 mod 37.
4

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

%S 139,509,953,1249,1471,1619,1693,2063,2137,2729,2803,3469,3617,3691,

%T 4283,4357,4801,5023,5171,5393,5689,6133,6577,6947,7243,7687,8353,

%U 8501,9241,9463,9833,9907,10499,11239,11831,12497,12941,13163,13681,13829,13903,14051

%N Primes congruent to 28 mod 37.

%H Vincenzo Librandi, <a href="/A142137/b142137.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[28,30000,37],PrimeQ] (* _Vladimir Joseph Stephan Orlovsky_, May 12 2011 *)

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

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

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

%Y Cf. A000040, A142135, A142136.

%K nonn,easy

%O 1,1

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