%I #11 Sep 08 2022 08:45:36
%S 197,491,883,1373,1471,1667,2549,2647,2843,3137,3529,3823,4019,4999,
%T 5783,5881,6469,6763,6959,7057,7253,7351,7547,7841,8233,8429,8527,
%U 8821,9311,10193,10487,10781,11173,11369,11467,12251,13721,14407,14897,15289,15583
%N Primes congruent to 1 mod 49.
%H Vincenzo Librandi, <a href="/A142414/b142414.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[{1}, Mod[#, 49]] &] (* _Vincenzo Librandi_, Aug 27 2012 *)
%t Select[Range[1,16000,49],PrimeQ] (* _Harvey P. Dale_, Nov 12 2013 *)
%o (Magma) [p: p in PrimesUpTo(16000) | p mod 49 eq 1]; // _Vincenzo Librandi_, Aug 27 2012
%o (PARI) is(n)=isprime(n) && n%49==1 \\ _Charles R Greathouse IV_, Jul 03 2016
%Y Cf. A000040.
%K nonn,easy
%O 1,1
%A _N. J. A. Sloane_, Jul 11 2008
|