OFFSET
1,1
COMMENTS
Not the same as multiples of 3 with a nonzero alternating binary digit sum: a(142) = 1368, but that sequence has 1365 as the 142nd term. - Charles R Greathouse IV, Feb 06 2015
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 1..10000
FORMULA
a(n) = 3*A036556(n). - Amiram Eldar, Aug 06 2023
MATHEMATICA
Select[3 * Range[210], OddQ[DigitCount[#, 2, 1]] &] (* Amiram Eldar, Aug 06 2023 *)
PROG
(PARI) isok(n) = (hammingweight(n) % 2) && (n % 3 == 0) \\ Michel Marcus, Jul 16 2013
CROSSREFS
KEYWORD
nonn,easy,base
AUTHOR
Dylan Hamilton, Sep 28 2010
STATUS
approved