OFFSET
0,3
LINKS
Sergio Falcon, Sum of the Squares of the Extended (k, t)-Fibonacci Numbers, Preprints 2024, 2024081150. See p. 7.
Index entries for linear recurrences with constant coefficients, signature (-3,2,8,-2,-6,1,1).
FORMULA
a(n) = 4*(-1)^n*(2*Fibonacci(2*n)/5 + Fibonacci(n)^2 - Fibonacci(n)) + 8*n/5 + A059841(n) (see Falcon).
G.f.: (1 + 3*x + 7*x^2 + 3*x^3 + x^4 + x^5)/((1 - x)^2*(1 + x)*(1 + 3*x + x^2)*(1 + x - x^2)).
MATHEMATICA
a[n_]:=4*(-1)^n*(2*Fibonacci[2*n]/5+Fibonacci[n]^2-Fibonacci[n])+8*n/5+(1+(-1)^n)/2; Array[a, 30, 0]
CROSSREFS
KEYWORD
sign,easy
AUTHOR
Stefano Spezia, Aug 18 2024
STATUS
approved