Loading [MathJax]/jax/output/HTML-CSS/jax.js
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

asked 12 years ago

JoshIzzard gravatar image

How to compute an iterated product in Sage

I am wondering about how to define a function f(n, k, i) that will take inputs n, k, i and give me the following product: i=1(n+kk) So for i=2, this would look like (n+k1k)(n+k2k). Would I use a for loop to iteratively add to the product until all i terms were accounted for?