%I #12 Sep 08 2022 08:45:35
%S 211,367,523,601,757,991,1069,1303,1381,1459,1693,2083,2161,2239,2473,
%T 2551,2707,3019,3253,3331,3643,3877,4111,4423,4657,4813,4969,5281,
%U 5437,5749,5827,6217,6373,6451,6529,6607,6763,6841,6997,7309,7621,7699,7933,8011
%N Primes congruent to 16 mod 39.
%H Vincenzo Librandi, <a href="/A142168/b142168.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[1100]],Mod[#,39]==16&] (* _Harvey P. Dale_, Apr 11 2012 *)
%t Select[Prime[Range[3000]],MemberQ[{16},Mod[#,39]]&] (* _Vincenzo Librandi_, Aug 20 2012 *)
%o (Magma) [p: p in PrimesUpTo(9000) | p mod 39 eq 16 ]; // _Vincenzo Librandi_, Aug 20 2012
%o (PARI) is(n)=isprime(n) && n%39==16 \\ _Charles R Greathouse IV_, Jul 03 2016
%Y Cf. A000040.
%K nonn,easy
%O 1,1
%A _N. J. A. Sloane_, Jul 11 2008