-
-
Notifications
You must be signed in to change notification settings - Fork 661
Open
Description
sage: maxima.product(k,k,1,n).sage()
k^n
That's plain wrong of course and is not what Maxima says on the command line. The second argument (the running variable) apparently is completely ignored.
%i4) product(k,k,1,n);
n
/===\
! !
(%o4) ! ! k
! !
k = 1
(%i5) product(k,k,1,n), simpproduct;
(%o5) n!
The solution may depend on implementation of a symbolic product function.
See #22920 for the equivalent issue with sums.
CC: @kcrisman @EmmanuelCharpentier
Component: interfaces
Issue created by migration from https://trac.sagemath.org/ticket/17502