OFFSET
0,3
LINKS
Vaclav Kotesovec, Why is this product equal to zero, when the correct result is 2+GoldenRatio, Mathematica StackExchange, Sep 22 2019.
Index entries for linear recurrences with constant coefficients, signature (4,-1,-11,11,1,-4,1).
FORMULA
a(n) = 1 + F(2*n+1) - F(n+2) - (F(-n+2) + F(n+1))/2.
G.f.: (2*x^2 - x^3 - x^4 + x^5) / (1 - 4*x + x^2 + 11*x^3 - 11*x^4 - x^5 + 4*x^6 - x^7).
b(n) + a(n) * sqrt(5) = F(2*n+2) * Product_{k=2..n} 1 / (1 - q^k/(1 - q^(2*k))) where q = (sqrt(5)-1)/2 and b=A330050.
EXAMPLE
G.f. = 2*x^2 + 7*x^3 + 25*x^4 + 72*x^5 + 208*x^6 + 564*x^7 + 1530*x^8 + ...
MATHEMATICA
a[n_] := 1 + Fibonacci[2 n + 1] - (Fibonacci[n + 4] - (-1)^n Fibonacci[n - 2])/2
PROG
(PARI) {a(n) = 1 + fibonacci(2*n + 1) - (fibonacci(n + 4) - (-1)^n*fibonacci(n - 2))/2};
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Michael Somos, Dec 01 2019
EXTENSIONS
Definition corrected by N. J. A. Sloane, May 29 2022 following a suggestion from Kevin Ryde.
Additional corrections by Eric Rowland, May 31 2022
STATUS
approved