OFFSET
0,2
LINKS
Index entries for linear recurrences with constant coefficients, signature (9,-33,63,-66,36,-8).
FORMULA
G.f.: x*(12*x^2-18*x+7) / ((x-1)^3*(2*x-1)^3). - Colin Barker, Sep 13 2014
EXAMPLE
a(2) = 45 since binary sum of 1100 + 1010 + 1001 + 0110 + 0101 + 0011 is 12 + 10 + 9 + 6 + 5 + 3 = 45.
PROG
(PARI) concat(0, Vec(x*(12*x^2-18*x+7)/((x-1)^3*(2*x-1)^3) + O(x^100))) \\ Colin Barker, Sep 13 2014
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Henry Bottomley, Feb 13 2001
STATUS
approved