login
A111225
Numbers n such that 5*n + 8 is prime.
6
1, 3, 7, 9, 13, 15, 19, 21, 31, 33, 37, 43, 45, 51, 55, 57, 61, 69, 73, 75, 85, 87, 91, 99, 103, 111, 117, 121, 127, 129, 133, 135, 145, 147, 153, 163, 169, 171, 175, 189, 195, 201, 205, 211, 217, 219, 223, 229, 231, 237, 241, 243, 255, 259, 273, 283, 285, 289
OFFSET
1,2
LINKS
EXAMPLE
If n=103 then 5*n + 8 = 523 (prime).
MATHEMATICA
Select[Range[300], PrimeQ[5#+8]&] (* Harvey P. Dale, Oct 31 2011 *)
PROG
(Magma) [n: n in [0..100000] |IsPrime(5*n+8)]; // Vincenzo Librandi, Sep 03 2010
(PARI) is(n)=isprime(5*n+8) \\ Charles R Greathouse IV, Feb 17 2017
CROSSREFS
KEYWORD
nonn
AUTHOR
Parthasarathy Nambi, Oct 26 2005
STATUS
approved