OFFSET
1,2
LINKS
Clark Kimberling, Table of n, a(n) for n = 1..999
Index entries for linear recurrences with constant coefficients, signature (4,-6,4,-1).
FORMULA
a(n) = (5*n - 15*n^2 + 12*n^3)/2.
a(n) = 4*a(n-1) - 6*a(n-2) + 4*a(n-3) - a(n-4).
G.f.: f(x)/g(x), where f(x) = x*(1 + 19*x + 16*x^2) and g(x) = (1-x)^4.
MATHEMATICA
(See A213773.)
LinearRecurrence[{4, -6, 4, -1}, {1, 23, 102, 274}, 40] (* Harvey P. Dale, Nov 20 2015 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Jul 04 2012
STATUS
approved