\prod
The \prod command in LaTeX is used to display the product operator, which is a capital Greek letter Pi (Π). It is typically used in mathematical expressions to denote the product of a sequence of factors, similar to how the summation operator (\sum) is used for sums. The \prod operator is often used in conjunction with limits to specify the range of the product.
Product of the first n natural numbers, which equals n factorial.
\prod_{i=1}^{n} i = n!
Product of a sequence of terms (1 + x_k) from k=1 to m.
\prod_{k=1}^{m} (1 + x_k)
Product over all prime numbers, often used in number theory.
\prod_{p \in \text{primes}} p