OFFSET
0,4
COMMENTS
LINKS
Index entries for linear recurrences with constant coefficients, signature (4,0,-10,0,4,-1).
FORMULA
a(n) = Sum_{i=0..n} F(i)*F(i+1)*F(n-i)^2.
a(n) = ((n + 2)/5)*F(n)*F(n+1) - (3/25)*(F(2*n+2) + (n + 1)*(-1)^(n + 1)).
G.f.: x^2*(1-x)/((x+1)*(x^2-3*x+1))^2.
a(n) = 4*a(n-1) - 10*a(n-3) + 4*a(n-5) - a(n-6) for n > 5. - Amiram Eldar, Jan 17 2022
EXAMPLE
For n=2, a(2) = F(0)*F(1)*F(2)^2 + F(1)*F(2)*F(1)^2 + F(2)*F(3)*F(0)^2 = 1.
MATHEMATICA
Table[Sum[Fibonacci[i]*Fibonacci[i + 1]*Fibonacci[n - i]^2, {i, 0, n}], {n, 0, 30}]
PROG
(PARI) a(n) = sum(i=0, n, fibonacci(i)*fibonacci(i+1)*fibonacci(n-i)^2); \\ Michel Marcus, Jan 17 2022
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Greg Dresden, Jan 16 2022
STATUS
approved