chickadee » math-utils » prod

(prod VAR ([N1 [N2 [STEP]]]) BODY...) -> numbersyntax

Product of BODY... in N1 to N2, inclusive, by STEP. When N1 > N2 the STEP becomes negative.

VAR
symbol ; VAR bound to current N in BODY...
BODY...
number ;
N1
number ; range start
N2
number ; range end
STEP
number ; step size, positive, default 1