OFFSET
1,2
LINKS
Index entries for linear recurrences with constant coefficients, signature (2,2,-4,-2,2,1).
FORMULA
a(n) = A128440(n, n).
a(n) = n*F(n-1) + floor(n*t*F(n)), where F=A000045, the Fibonacci numbers.
G.f.: x*(1 + 3*x - 3*x^3 - x^4 - x^5)/((1 - x)*(1 + x)*(1 - x - x^2)^2). - Ilya Gutkovskiy, Apr 18 2017
MATHEMATICA
Table[Floor[n*GoldenRatio^n], {n, 50}] (* Indranil Ghosh, Apr 18 2017 *)
PROG
(PARI) a(n) = floor(n*((1 + sqrt(5))/2)^n); \\ Indranil Ghosh, Apr 18 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Mar 03 2007
STATUS
approved