OFFSET
0,5
FORMULA
G.f.: (x^3*(x^6+18*x^5+35*x^4+62*x^3+31*x^2+12*x+1))/((x+1)^4*(x-1)^6). - Maksym Voznyy (voznyy(AT)mail.ru), Jul 28 2009
MAPLE
for n from 0 to 15 do add( floor(m*(n-2)/2)^2, m=1..n-1) ; print(n, %) ; od: # R. J. Mathar
MATHEMATICA
f[n_] := Sum[ Floor[m (n - 2)/2]^2, {m, n - 1}]; Table[ f@n, {n, 0, 35}] (* Robert G. Wilson v, Aug 03 2008 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Jerry Metzger, Jul 09 2008
EXTENSIONS
More terms from Robert G. Wilson v, Aug 03 2008
STATUS
approved