Pentagonal number theorem for power series #
This file proves the pentagonal number theorem for power series:
$$ \prod_{n = 0}^{\infty} (1 - x^{n + 1}) = \sum_{k=-\infty}^{\infty} (-1)^k x^{a_k} $$
where $a_k = k(3k - 1)/2$ are the pentagonal numbers. We state the theorem in two parts by
introducing the intermediate power series PowerSeries.pentagonalSeries, whose coefficients are
defined using pentagonal numbers. We then show that this series is equal to both sides.
Main theorems #
PowerSeries.WithPiTopology.hasProd_one_sub_X_pow:PowerSeries.pentagonalSeriesis equal to infinite product on the left-hand side of the formula.PowerSeries.coeff_prod_one_sub_X_pow_eventually_eqrestates the left-hand side without requiring topology.PowerSeries.WithPiTopology.hasSum_pentagonalSeries:PowerSeries.pentagonalSeriesis equal to the infinite sum on the right-hand side of the formula.PowerSeries.coeff_pentagonalSeriesrestates the right-hand side without requiring topology.
The power series $\sum_{k=-\infty}^{\infty}(-1)^k x^{k * (3k - 1) / 2}$.
Equations
- PowerSeries.pentagonalSeries R = PowerSeries.mk fun (n : ℕ) => if h : ∃ (k : ℤ), pentagonal k = n then ↑↑h.choose.negOnePow else 0
Instances For
PowerSeries.pentagonalSeries as an infinite sum over integers
PowerSeries.pentagonalSeries as an infinite sum over natural numbers. In this version, terms
are ordered by strictly increasing exponent pentagonal k for k = 0, 1, -1, 2, -2, 3, ...,
and every two terms are grouped together.
Pentagonal number theorem for power series, expressed as the statement that the coefficients
of the product ∏ n, 1 - X ^ (n + 1) are eventually constants as (pentagonalSeries R).coeff.
Pentagonal number theorem for power series, expressed as an infinite product. See also
PowerSeries.WithPiTopology.hasSum_pentagonalSeries that expresses pentagonalSeries as an
infinite sum.