login
A059325
Numbers n such that 6n + 5 is prime.
9
0, 1, 2, 3, 4, 6, 7, 8, 9, 11, 13, 14, 16, 17, 18, 21, 22, 24, 27, 28, 29, 31, 32, 37, 38, 39, 41, 42, 43, 44, 46, 48, 51, 52, 57, 58, 59, 63, 64, 66, 69, 71, 73, 74, 76, 77, 79, 81, 83, 84, 86, 92, 93, 94, 97, 98, 99, 102, 106, 107, 108, 109, 112, 113, 116, 119, 123, 126
OFFSET
1,3
LINKS
EXAMPLE
a(4)=3 because 6*3 + 1 = 19 is prime.
MATHEMATICA
Select[Range[0, 1000], PrimeQ[6 # + 5] &] (* G. C. Greubel, Jan 06 2017 *)
PROG
(Magma) [n: n in [0..200]| IsPrime(6*n+5)] // Vincenzo Librandi, Aug 07 2010
(PARI) is(n)=isprime(6*n+5) \\ Charles R Greathouse IV, Feb 17 2017
CROSSREFS
Complement of A059324.
Sequence in context: A103677 A087919 A113508 * A258938 A004763 A320456
KEYWORD
nonn,easy
AUTHOR
Anton Joha, Jan 26 2001
EXTENSIONS
More terms from Henry Bottomley, Jan 29 2001
STATUS
approved