OFFSET
0,6
LINKS
Clark Kimberling, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (1, 2, -1, -2, 2, 1, -3, -1, 3, 0, -2, 1, 2, -1, -1)
FORMULA
G.f.: (x^4 (1 + x) (1 - x + x^2) (1 + x - x^2 - 2 x^3 + x^5 + x^6))/((-1 + x) (-1 + x + x^2) (1 + x + x^2 + x^3 + x^4) (1 - x^2 + x^4 - x^6 + x^8)).
a(n) = a(n-1) + 2 a(n-2) - a(n-3) - 2 a(n-4) + 2 a(n-5) + a(n-6) - 3 a(n-7) - a(n-8) + 3 a(n-9) - 2 a(n-11) + a(n-12) + 2 a(n-13) - a(n-14) - a(n-15) for n >= 16.
a(n) = floor(2*Fibonacci(n)/5).
a(n) = A293640(n) - 1 for n > 0.
MATHEMATICA
z = 120; r = 2/5; f[n_] := Fibonacci[n];
Table[Floor[r*f[n]], {n, 0, z}]; (* A293639 *)
Table[Ceiling[r*f[n]], {n, 0, z}]; (* A293640 *)
Table[Round[r*f[n]], {n, 0, z}]; (* A293641 *)
LinearRecurrence[{1, 2, -1, -2, 2, 1, -3, -1, 3, 0, -2, 1, 2, -1, -1}, {0, 0, 0, 0, 1, 2, 3, 5, 8, 13, 22, 35, 57, 93, 150}, 60] (* Harvey P. Dale, May 02 2019 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Oct 14 2017
STATUS
approved