%I #12 Sep 08 2022 08:45:35
%S 53,127,349,571,719,941,1163,1237,1459,1607,2273,2347,2791,2939,3457,
%T 4049,4271,4493,4567,4789,4937,5011,5233,5381,6047,6121,6269,6343,
%U 6491,7823,8563,8933,9007,9377,10487,10709,11597,12041,12263,12781,13003,13151,13669
%N Primes congruent to 16 mod 37.
%H Vincenzo Librandi, <a href="/A142125/b142125.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[16,30000,37],PrimeQ] (* _Vladimir Joseph Stephan Orlovsky_, May 11 2011 *)
%t Select[Prime[Range[50000]],MemberQ[{16},Mod[#,37]]&] (* _Vincenzo Librandi_, Aug 19 2012 *)
%o (Magma) [p: p in PrimesUpTo(15000) | p mod 37 eq 16 ]; // _Vincenzo Librandi_, Aug 19 2012
%o (PARI) is(n)=isprime(n) && n%37==16 \\ _Charles R Greathouse IV_, Jul 02 2016
%Y Cf. A000040, A142123, A142124.
%K nonn,easy
%O 1,1
%A _N. J. A. Sloane_, Jul 11 2008
|