OFFSET
0,2
COMMENTS
Row sums of triangle A141751.
LINKS
Index entries for linear recurrences with constant coefficients, signature (5,-8,5,-1).
FORMULA
G.f.: (1 - 3*x + 3*x^2)/((1 - 3*x + x^2)*(1-x)^2).
a(n) = 5*a(n-1)-8*a(n-2)+5*a(n-3)-a(n-4). - Wesley Ivan Hurt, Oct 18 2021
MATHEMATICA
LinearRecurrence[{5, -8, 5, -1}, {1, 2, 5, 14}, 30] (* Harvey P. Dale, May 23 2021 *)
PROG
(PARI) a(n)=sum(k=0, n, fibonacci(2*k-1) + (n-k)*fibonacci(2*k))
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Paul D. Hanna, Jul 04 2008
STATUS
approved