First time here? Check out the FAQ!
answered 3 years ago
Possible workaround :
sage: var("k", domain="integer") k sage: assume(k>0) sage: var("j") j sage: product(expr, j, 1, k) xbar^k
which might be wrapped in a function... But be aware that the result is a symbolic expression, not an element of R.