login
Primes congruent to 24 mod 49.
1

%I #15 Oct 01 2024 21:10:39

%S 73,269,367,563,661,857,1151,1249,1543,2131,2621,2719,3209,3307,3797,

%T 4091,4483,4679,4973,5659,5953,6247,6737,7129,7717,8011,8501,8599,

%U 8893,9187,9677,10069,10559,10657,10853,11833,12323,12421,12911,13009,13499,13597

%N Primes congruent to 24 mod 49.

%H Vincenzo Librandi, <a href="/A142434/b142434.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]],Mod[#,49]==24&] (* _Harvey P. Dale_, May 26 2011 *)

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

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

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

%Y Cf. A000040.

%K nonn,easy

%O 1,1

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