%I #18 Oct 28 2024 18:45:27
%S 1,3,7,9,13,15,19,21,31,33,37,43,45,51,55,57,61,69,73,75,85,87,91,99,
%T 103,111,117,121,127,129,133,135,145,147,153,163,169,171,175,189,195,
%U 201,205,211,217,219,223,229,231,237,241,243,255,259,273,283,285,289
%N Numbers n such that 5*n + 8 is prime.
%H Harvey P. Dale, <a href="/A111225/b111225.txt">Table of n, a(n) for n = 1..1000</a>
%e If n=103 then 5*n + 8 = 523 (prime).
%t Select[Range[300],PrimeQ[5#+8]&] (* _Harvey P. Dale_, Oct 31 2011 *)
%o (Magma) [n: n in [0..100000] |IsPrime(5*n+8)]; // _Vincenzo Librandi_, Sep 03 2010
%o (PARI) is(n)=isprime(5*n+8) \\ _Charles R Greathouse IV_, Feb 17 2017
%Y Cf. A024894, A087505, A024897, A081759.
%K nonn
%O 1,2
%A _Parthasarathy Nambi_, Oct 26 2005