OFFSET
1
COMMENTS
FORMULA
T(k,n)=[nr]-[kr]-[nr-kr], r=(1+sqrt(5))/2, k>=1, n>=1.
EXAMPLE
MATHEMATICA
r=(1+5^(1/2))/2;
T[k_, n_]:=Floor[n*r]-Floor[k*r]-Floor[n*r-k*r]
TableForm[Table[T[n, k], {n, 1, 30}, {k, 1, 20}]]
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
Clark Kimberling, Mar 26 2011
STATUS
approved