login

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”).

Primes congruent to 37 mod 49.
1

%I #12 Jul 11 2024 13:51:38

%S 37,233,331,821,919,1213,1409,1801,1997,2389,2683,2879,3271,3467,3761,

%T 4153,4349,4447,4643,4937,5231,5623,6113,6211,6701,7583,7681,7877,

%U 8171,8269,8563,9151,9739,11503,11699,12973,13267,13463,13757,14051,14149,14639,14737

%N Primes congruent to 37 mod 49.

%H Vincenzo Librandi, <a href="/A142445/b142445.txt">Table of n, a(n) for n = 1..1000</a>

%F a(n) ~ 42n log n. - _Charles R Greathouse IV_, Jul 03 2016

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

%t Select[Range[37,15000,49],PrimeQ] (* _Harvey P. Dale_, Jul 11 2024 *)

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

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

%Y Cf. A000040.

%K nonn,easy

%O 1,1

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