OFFSET
0,2
COMMENTS
The g.f. was proven; cf. the comment in A250120. - Georg Fischer, Jul 19 2020
LINKS
Index entries for linear recurrences with constant coefficients, signature (2,-1,0,0,1,-2,1).
FORMULA
G.f.: (x^2+x+1)*(x^4+3*x^3+3*x+1)/((x^4+x^3+x^2+x+1)*(1-x)^3).
MATHEMATICA
CoefficientList[Series[(x^2+x+1)*(x^4+3*x^3+3*x+1)/((x^4+x^3+x^2+x+1)*(1-x)^3), {x, 0, 41}], x] (* Georg Fischer, Jul 19 2020 *)
LinearRecurrence[{2, -1, 0, 0, 1, -2, 1}, {1, 6, 15, 30, 49, 73, 102}, 50] (* Harvey P. Dale, Apr 30 2022 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Bradley Klee and N. J. A. Sloane, Nov 23 2014
STATUS
approved