OFFSET
1,2
COMMENTS
Let S(x) be the generating function for A000079. Then the generating function for this sequence is x(S(x)^2+S(x^2))/2.
LINKS
Index entries for linear recurrences with constant coefficients, signature (4,-2,-8,8).
FORMULA
EXAMPLE
(1, 4, 12, 32, 80, 192, 448, 1024,...) +
..(1, 0,..2,..0,..4,...0,...8,....0...) =
..(2, 4, 14, 32, 84, 192, 456, 1024,...). Then dividing the sum by 2 we obtain:
..(1, 2, 7, 16, 42, 96, 228,...).
MATHEMATICA
CoefficientList[Series[x (1-x)^2/((1-2x^2)(1-2x)^2), {x, 0, 50}], x] (* or *) LinearRecurrence[{4, -2, -8, 8}, {0, 1, 2, 7}, 50] (* Harvey P. Dale, Dec 29 2023 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Gary W. Adamson, Dec 30 2010
STATUS
approved