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”).
%I #12 Sep 08 2022 08:45:35
%S 7,229,599,673,821,1117,1487,1709,1783,1931,2153,2671,2819,3041,3559,
%T 3929,4003,4373,4447,4817,5039,5113,5261,5483,5557,5779,5927,7333,
%U 7481,7703,8147,8221,8369,8443,8887,9109,9257,9479,9923,10589,10663,11329,11551,11699
%N Primes congruent to 7 mod 37.
%H Vincenzo Librandi, <a href="/A142116/b142116.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[7,20000,37],PrimeQ] (* _Vladimir Joseph Stephan Orlovsky_, May 07 2011 *)
%t Select[Prime[Range[5000]],MemberQ[{7},Mod[#,37]]&] (* _Vincenzo Librandi_, Aug 19 2012 *)
%o (Magma) [p: p in PrimesUpTo(1500) | p mod 37 eq 7 ]; // _Vincenzo Librandi_, Aug 19 2012
%o (PARI) is(n)=isprime(n) && n%37==7 \\ _Charles R Greathouse IV_, Jul 02 2016
%Y Cf. A000040, A142113, A142114, A142115.
%K nonn,easy
%O 1,1
%A _N. J. A. Sloane_, Jul 11 2008