OFFSET
2,3
LINKS
G. C. Greubel, Table of n, a(n) for n = 2..1000
FORMULA
a(n) = A014817(n) - n. - R. J. Mathar, Jul 21 2015
MAPLE
MATHEMATICA
Table[Sum[Floor[k^2/n], {k, 1, n - 1}], {n, 2, 100}] (* G. C. Greubel, May 10 2016 *)
PROG
(PARI) a(n) = sum(j=1, n-1, j^2\n) \\ Michel Marcus, Jun 20 2013
CROSSREFS
KEYWORD
nonn
AUTHOR
Christopher Hunt Gribble, Oct 13 2009
STATUS
approved