OFFSET
1,2
LINKS
Index entries for linear recurrences with constant coefficients, signature (1,7,-7,-1,1).
FORMULA
a(n) = ((1-(-1)^n)/2) * (-5 + 14 * Sum_{k=1..n-1} Fibonacci(4*k-1) + 6 * Sum_{k=0..n-1} Fibonacci(4*k+1)) + ((1+(-1)^n)/2) * (-5 + 14 * Sum_{k=1..n} Fibonacci(4*k-1) + 6 * Sum_{k=0..n-1} Fibonacci(4*k+1)).
a(n) = ((1-(-1)^n)/2) * (-5 + 14 * A081018(n-1) + 6 * A081016(n-1)) + ((1+(-1)^n)/2) * (-5 + 14 * A081018(n) + 6 * A081016(n-1)).
From Stefano Spezia, Aug 25 2022: (Start)
G.f.: x*(1 + 28*x + 23*x^2 - 14*x^3 - 5*x^4)/((1 - x)*(1 - 3*x + x^2)*(1 + 3*x + x^2)).
a(n) = a(n-1) + 7*a(n-2) - 7*a(n-3) - a(n-4) + a(n-5) for n > 5. (End)
EXAMPLE
For n=3, 2 * ((F(5) - F(0))^2)^3 + 2 * (-(F(6) - F(1))^2)^3 + 59^3 = 2 * 25^3 - 2 * 49^3 + 59^3 = 1331, a(3) = 59.
MATHEMATICA
Table[(1331-2*((Fibonacci[n+2]+(-1)^n*Fibonacci[n-3]))^6+2*(Fibonacci[n+3]+(-1)^n*Fibonacci[n-2])^6)^(1/3), {n, 28}]
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
XU Pingya, Aug 24 2022
STATUS
approved