%I #11 Sep 08 2022 08:45:36
%S 103,307,409,613,919,1021,1123,1327,1429,1531,2143,2347,2551,2857,
%T 3061,3163,3469,3571,3673,3877,4591,4999,5101,5407,6121,6427,6529,
%U 6733,7039,7243,7549,7753,8059,8161,8263,8467,9181,9283,10099,10303,10711,11119,11527
%N Primes congruent to 1 mod 51.
%H Vincenzo Librandi, <a href="/A142476/b142476.txt">Table of n, a(n) for n = 1..1000</a>
%F a(n) ~ 32n log n. - _Charles R Greathouse IV_, Jul 03 2016
%t Select[Prime[Range[2000]], MemberQ[{1}, Mod[#, 51]] &] (* _Vincenzo Librandi_, Aug 28 2012 *)
%t Select[Range[1,12000,51],PrimeQ] (* _Harvey P. Dale_, Aug 22 2016 *)
%o (Magma) [p: p in PrimesUpTo(13000) | p mod 51 eq 1]; // _Vincenzo Librandi_, Aug 28 2012
%o (PARI) is(n)=isprime(n) && n%51==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
|