OFFSET
1,1
LINKS
Clark Kimberling, Table of n, a(n) for n = 1..1000
MATHEMATICA
Table[Sum[Floor[1/FractionalPart[k*Sqrt[5]]], {k, 1, n}], {n, 1, 100}]
(* Clark Kimberling, Aug 16 2012 *)
PROG
(Magma)a:=Sqrt(5); [&+[Floor(1/(k*a-Floor(k*a))):k in [1..n]]:n in [1..59]]; // Marius A. Burtea, Jul 16 2019
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved