OFFSET
1,1
COMMENTS
Sequence extended to a(1) using the formula/recurrence.
LINKS
Eric Weisstein's World of Mathematics, Sun Graph.
Eric Weisstein's World of Mathematics, Visibility Polynomial.
Index entries for linear recurrences with constant coefficients, signature (5,-6,2,-1,1).
FORMULA
G.f.: -x*(4-7*x+x^2-5*x^3+3*x^4)/((-1+x)^2*(-1+3*x+x^2+x^3)).
a(n) = 5*a(n-1)-6*a(n-2)+2*a(n-3)-a(n-4)+a(n-5).
MATHEMATICA
Table[n + RootSum[-1 - # - 3 #^2 + #^3 &, #^n &], {n, 20}]
LinearRecurrence[{5, -6, 2, -1, 1}, {4, 13, 42, 135, 448}, 20]
CoefficientList[Series[-(4 - 7 x + x^2 - 5 x^3 + 3 x^4)/((-1 + x)^2 (-1 + 3 x + x^2 + x^3)), {x, 0, 20}], x]
CROSSREFS
KEYWORD
nonn
AUTHOR
Eric W. Weisstein, Sep 25 2025
STATUS
approved
