login
A172181
Odd composites not of the form 6k + 1.
0
9, 15, 21, 27, 33, 35, 39, 45, 51, 57, 63, 65, 69, 75, 77, 81, 87, 93, 95, 99, 105, 111, 117, 119, 123, 125, 129, 135, 141, 143, 147, 153, 155, 159, 161, 165, 171, 177, 183, 185, 189, 195, 201, 203, 207, 209, 213, 215, 219, 221, 225, 231, 237, 243, 245, 249, 255
OFFSET
1,1
MATHEMATICA
Union[6Range[42] + 3, Select[6Range[43] - 1, Not[PrimeQ[#]] &]] (* Alonso del Arte, Jun 05 2011 *)
PROG
(PARI) select(n->(n%6==3 && n>3) || (n%6==5 && !isprime(n)), vector(1000, i, i)) \\ Charles R Greathouse IV, Jun 05 2011
CROSSREFS
Cf. A005408, A045375, A045410. Odd complement is A091300.
Sequence in context: A139787 A372080 A225461 * A063139 A163170 A097636
KEYWORD
nonn,easy
AUTHOR
EXTENSIONS
Entries checked by R. J. Mathar, May 19 2010
STATUS
approved