%I #11 Sep 08 2022 08:45:36
%S 31,83,239,499,811,863,967,1019,1123,1279,1487,1747,2111,2267,2371,
%T 2423,2579,2683,3203,3307,3359,3463,3671,3931,4139,4243,4451,4919,
%U 5023,5179,5231,5387,5647,6011,6271,6323,6427,6791,6947,7103,7207,7727,7883,8039
%N Primes congruent to 31 mod 52.
%H Vincenzo Librandi, <a href="/A142522/b142522.txt">Table of n, a(n) for n = 1..1000</a>
%F a(n) ~ 24n log n. - _Charles R Greathouse IV_, Jul 03 2016
%t Select[Prime[Range[1300]], MemberQ[{31}, Mod[#, 52]] &] (* _Vincenzo Librandi_, Aug 29 2012 *)
%t Select[Range[31,9000,52],PrimeQ] (* _Harvey P. Dale_, Apr 11 2014 *)
%o (Magma) [p: p in PrimesUpTo(10000) | p mod 52 eq 31]; // _Vincenzo Librandi_, Aug 29 2012
%o (PARI) is(n)=isprime(n) && n%52==31 \\ _Charles R Greathouse IV_, Jul 03 2016
%Y Cf. A000040.
%K nonn,easy
%O 1,1
%A _N. J. A. Sloane_, Jul 11 2008