OFFSET
1,1
LINKS
Ivan Neretin, Table of n, a(n) for n = 1..10000
Index entries for linear recurrences with constant coefficients, signature (4,-6,5,-5,6,-4,1).
FORMULA
G.f.: x*(x^3 - 3x^2 + 3x + 2)/((1-x^3)*(1-x)^4).
a(n) = floor((1/24)*n*(n+1)*(n^2 + 9*n + 22)). - Ivan Neretin, May 21 2018
MATHEMATICA
s[n_] := 1 + Range[n + 2]
Table[Floor[SymmetricPolynomial[3, s[n]]/SymmetricPolynomial[1, s[n]]], {n, 1,
46}] (* Clark Kimberling, Sep 23 2016 *)
LinearRecurrence[{4, -6, 5, -5, 6, -4, 1}, {2, 11, 29, 61, 115, 196, 312}, 40] (* Harvey P. Dale, Dec 05 2018 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved