A111225 Numbers n such that 5*n + 8 is prime.
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
Keywords
Examples
If n=103 then 5*n + 8 = 523 (prime).
Links
- Harvey P. Dale, Table of n, a(n) for n = 1..1000
Programs
-
Magma
[n: n in [0..100000] |IsPrime(5*n+8)]; // Vincenzo Librandi, Sep 03 2010
-
Mathematica
Select[Range[300],PrimeQ[5#+8]&] (* Harvey P. Dale, Oct 31 2011 *)
-
PARI
is(n)=isprime(5*n+8) \\ Charles R Greathouse IV, Feb 17 2017