OFFSET
1,2
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..1000
FORMULA
a(n) = Sum_{i=1..n} floor(n*(n-i)/i). - Wesley Ivan Hurt, Jan 30 2016
MAPLE
MATHEMATICA
Table[Sum[Floor[n (n - i)/i], {i, n}], {n, 100}]
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Christopher Hunt Gribble, Oct 13 2009
STATUS
approved