%I #20 Sep 08 2022 08:45:35
%S 29,71,113,197,239,281,449,491,617,659,701,743,827,911,953,1163,1289,
%T 1373,1499,1583,1667,1709,1877,2003,2087,2129,2213,2297,2339,2381,
%U 2423,2549,2591,2633,2801,2843,2927,2969,3011,3137,3221,3347,3389,3557,3767,3851
%N Primes congruent to 8 mod 21.
%H Vincenzo Librandi, <a href="/A141891/b141891.txt">Table of n, a(n) for n = 1..1000</a>
%F a(n) ~ 12n log n. - _Charles R Greathouse IV_, Jul 03 2016
%t Select[Range[8,5000,21],PrimeQ] (* _Vladimir Joseph Stephan Orlovsky_, Apr 04 2011 *)
%o (Magma) [ p: p in PrimesUpTo(5000) | p mod 21 eq 8 ]; // _Vincenzo Librandi_, Apr 05 2011
%o (PARI) is(n)=isprime(n) && n%21==8 \\ _Charles R Greathouse IV_, Jul 03 2016
%Y Cf. A000040, A124826.
%K nonn,easy
%O 1,1
%A _N. J. A. Sloane_, Jul 11 2008
|