login
Primes congruent to 36 mod 37.
2

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

%S 73,443,739,887,1109,1553,1627,1997,2293,2441,2663,3181,3329,3847,

%T 4217,4513,4957,5179,5623,6067,6659,6733,7103,7177,7547,7621,8287,

%U 8731,9323,9397,9619,9767,10211,10433,10729,11173,11321,11617,11839,11987,12653,13171

%N Primes congruent to 36 mod 37.

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

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

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

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

%Y Cf. A000040, A142142, A142143, A142144.

%K nonn,easy

%O 1,1

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