login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

Primes congruent to 25 mod 37.
3

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

%S 173,617,691,839,1061,1283,1579,1801,1949,2393,2467,2689,2837,3947,

%T 4021,4243,4391,4909,5279,5501,6389,6833,6907,7129,7351,7499,7573,

%U 8017,8387,8461,8609,8831,9127,9349,9497,9719,9941,10163,10459,10607,10903,11273

%N Primes congruent to 25 mod 37.

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

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

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

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

%Y Cf. A000040, A142132, A142133.

%K nonn,easy

%O 1,1

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