%I #9 Sep 08 2022 08:45:35
%S 47,281,359,593,827,983,1061,1217,1373,1451,1607,1997,2153,2309,2543,
%T 2621,2699,2777,3011,3089,3167,3323,3557,3947,4259,4337,4493,4649,
%U 5039,5273,5351,5507,5741,5897,6053,6131,6287,6521,6599,6833,6911,7457,7691,8081
%N Primes congruent to 8 mod 39.
%H Vincenzo Librandi, <a href="/A142164/b142164.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[3000]],MemberQ[{8},Mod[#,39]]&] (* _Vincenzo Librandi_, Aug 20 2012 *)
%o (Magma) [p: p in PrimesUpTo(9000) | p mod 39 eq 8 ]; // _Vincenzo Librandi_, Aug 20 2012
%o (PARI) is(n)=isprime(n) && n%39==8 \\ _Charles R Greathouse IV_, Jul 03 2016
%Y Cf. A000040.
%K nonn,easy
%O 1,1
%A _N. J. A. Sloane_, Jul 11 2008
|