A279890 Expansion of x*(1 - x + 2*x^3 - x^4)/((1 - x)*(1 + x)*(1 - x + x^2)*(1 - x - x^2)).
0, 1, 1, 2, 4, 7, 12, 19, 31, 50, 82, 133, 216, 349, 565, 914, 1480, 2395, 3876, 6271, 10147, 16418, 26566, 42985, 69552, 112537, 182089, 294626, 476716, 771343, 1248060, 2019403, 3267463, 5286866, 8554330, 13841197, 22395528, 36236725, 58632253, 94868978, 153501232, 248370211, 401871444, 650241655, 1052113099, 1702354754
Offset: 0
Examples
a(1) = floor(3/(1/F(1)+1/F(2)+1/F(3))) = floor(3/(1/1+1/1+1/2)) = 1; a(2) = floor(3/(1/F(2)+1/F(3)+1/F(4))) = floor(3/(1/1+1/2+1/3)) = 1; a(3) = floor(3/(1/F(3)+1/F(4)+1/F(5))) = floor(3/(1/2+1/3+1/5)) = 2, etc.
Links
- Eric Weisstein's World of Mathematics, Fibonacci Number
- Eric Weisstein's World of Mathematics, Harmonic Mean
- Index entries for linear recurrences with constant coefficients, signature (2,0,-2,2,0,-1).
Crossrefs
Programs
-
Mathematica
LinearRecurrence[{2, 0, -2, 2, 0, -1}, {0, 1, 1, 2, 4, 7}, 46] Table[Floor[3 Fibonacci[n] Fibonacci[n + 1] Fibonacci[n + 2]/(2 Fibonacci[n + 1] Fibonacci[n + 2] - (-1)^n)], {n, 0, 45}]
-
PARI
concat(0, Vec((x*(1-x+2*x^3-x^4)/((1-x)*(1+x)*(1-x+x^2))) + O(x^40))) \\ Felix Fröhlich, Dec 22 2016
Formula
G.f.: x*(1 - x + 2*x^3 - x^4)/((1 - x)*(1 + x)*(1 - x + x^2)*(1 - x - x^2)).
a(n) = 2*a(n-1) - 2*a(n-3) + 2*a(n-4) - a(n-6).
a(n) = (9*sqrt(5)*(((1 + sqrt(5))/2)^n - ((1 - sqrt(5))/2)^n) + 5*((-1)^n + 2*cos(Pi*n/3) - 3))/30.
a(n) = floor(3*F(n)*F(n+1)*F(n+2)/(2*F(n+1)*F(n+2)-(-1)^n)), where F(n) is the n-th Fibonacci number (A000045).
a(n) = 3*A000045(n)/2 + ((-1)^n + 2*cos(Pi*n/3) - 3)/6.
a(n) ~ 3*phi^n/(2*sqrt(5)), where phi is the golden ratio (A001622).
Lim_{n->infinity} a(n+1)/a(n) = phi.
Comments