OFFSET
1,1
LINKS
Eric Weisstein's World of Mathematics, Plummer-Toft Graph.
Eric Weisstein's World of Mathematics, Visibility Polynomial.
Index entries for linear recurrences with constant coefficients, signature (4,-5,2).
FORMULA
a(n) = 23 + 53*2^(n - 2) + 3*n for n > 2.
a(n) = 4*a(n-1)-5*a(n-2)+2*a(n-3) for n > 5.
G.f.: x*(-54+135*x-84*x^2+8*x^3-2*x^4)/((-1+x)^2*(-1+2*x)).
MATHEMATICA
Table[Piecewise[{{54, n == 1}, {81, n == 2}}, 23 + 53 2^(n - 2) + 3 n], {n, 20}]
Join[{54, 81}, LinearRecurrence[{4, -5, 2}, {138, 247, 462}, 20]]
CoefficientList[Series[(-54 + 135 x - 84 x^2 + 8 x^3 - 2 x^4)/((-1 + x)^2 (-1 + 2 x)), {x, 0, 20}], x]
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Eric W. Weisstein, Feb 16 2026
STATUS
approved
