Skip to content

Product

Symbolic product.

$ wo 'Product[k, {k, 1, 5}]'
120
$ wo 'Product[k^2, {k, 1, 3}]'
36

Multiple iterators nest, with the rightmost innermost.

$ wo 'Product[i, {i, 1, 4}, {j, 1, 2}]'
576

A trailing option is not an iterator, so it leaves the product alone:

$ wo 'Product[n, {n, 1, 5}, Method -> Automatic]'
120