Liouville's divisor-function identity
TheoremLiouville's divisor-function identity for all natural numbers#✓fully proved
MetaMathlibExt.liouville_divisor_function_identity_general
For every natural number \(n\), writing \(\tau(d)\) for the number of positive divisors of \(d\),
\[\left(\sum_{d \mid n} \tau(d)\right)^2 = \sum_{d \mid n} \tau(d)^3,\]
where both sums run over the positive divisors \(d\) of \(n\). By convention the divisor set of \(0\) is empty here, so for \(n = 0\) both sides are \(0\).
theorem liouville_divisor_function_identity_general (n : ℕ) :
(∑ d ∈ n.divisors, d.divisors.card) ^ 2 =
∑ d ∈ n.divisors, (d.divisors.card) ^ 3
Used by 1
TheoremLiouville's divisor-function identity#✓fully proved
MetaMathlibExt.liouville_divisor_function_identity
For every positive integer \(n\), writing \(\tau(d)\) for the number of positive divisors of \(d\),
\[\left(\sum_{d \mid n} \tau(d)\right)^2 = \sum_{d \mid n} \tau(d)^3,\]
where both sums run over the positive divisors \(d\) of \(n\).
theorem liouville_divisor_function_identity
(n : ℕ) (hn : 0 < n) :
(∑ d ∈ n.divisors, d.divisors.card) ^ 2 =
∑ d ∈ n.divisors, (d.divisors.card) ^ 3
Sources
Sources
- Seon-Hong Kim and Kenneth B. Stolarsky, “Translations and Extensions of the Nicomachean Identity,” Journal of Integer Sequences 27 (2024), lines 317–322, https://cs.uwaterloo.ca/journals/JIS/VOL27/Kim/kim8.tex. Here
d.divisors.cardis the source's divisor-count function. It follows fromliouville_divisor_function_identity_general; the hypothesishnis unused and keeps the source's shape (atn = 0both sides are0, sinceNat.divisors 0 = ∅).
Uses 1
2 fully proved
Loading dependency explorer…
The dependency explorer needs JavaScript and its graph data.