nusum



Can someone explain how maxima uses the index limits for the function nusum.
Is there a simple explanation for the ouputs:
----------------------------------------
 nusum( j, j, 0, 2 );  ---->   3
and
nusum( j, j, 0, j );   --->   j*( j + 1 ) / 2
-----------------------------------------------
?
 ted