Euler's pentagonal number theorem #
Euler's pentagonal number theorem states that for $\|q\| < 1$: $$\prod_{n=1}^{\infty} (1 - q^n) = \sum_{k \in \mathbb{Z}} (-1)^k q^{k(3k-1)/2}$$
This follows from the Jacobi triple product by the substitution $q \to q^3$, $z \to q$, using the index partition $\{3n\} \cup \{3n-2\} \cup \{3n-1\} = \mathbb{Z}_{\geq 1}$.
Main definitions #
QSeries.pentagonal— the generalized pentagonal number $\omega(k) = k(3k-1)/2$.
Main results #
QSeries.euler_pentagonal_number— the pentagonal number theorem.
Euler's pentagonal number theorem: for $\|q\| < 1$, the infinite product $(q;q)_\infty$ equals the bilateral series $\sum_{k \in \mathbb{Z}} (-1)^k q^{\omega(k)}$ over generalized pentagonal numbers $\omega(k) = k(3k-1)/2$, written as two one-sided sums.