login
Primes congruent to 48 mod 49.
1

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

%S 97,293,587,881,1567,1861,2351,2939,3037,3331,3527,3821,3919,4409,

%T 4507,4703,4801,5683,5879,6173,6271,6761,7349,7643,7741,7937,8231,

%U 8329,8623,8819,10093,10289,11171,12347,12641,12739,13033,13229,13327,13523,14503

%N Primes congruent to 48 mod 49.

%H Harvey P. Dale, <a href="/A142455/b142455.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[Range[48,15000,49],PrimeQ] (* _Harvey P. Dale_, Nov 21 2011 *)

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

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

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

%Y Cf. A000040.

%K nonn,easy

%O 1,1

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