Staver's identity
TheoremSplitting a power of minus one#✓fully proved
For natural numbers \(k \le n\), we have \((-1)^{n-k} \cdot (-1)^k = (-1)^n\) in \(\mathbb{Q}\).
theorem staver_sign_mul (n k : ℕ) (hk : k ≤ n) :
(-1 : ℚ) ^ (n - k) * (-1 : ℚ) ^ k = (-1 : ℚ) ^ n
TheoremSquares of powers of minus one#✓fully proved
For every natural number \(k\), we have \((-1)^k \cdot (-1)^k = 1\) in \(\mathbb{Q}\).
theorem staver_sign_sq (k : ℕ) : (-1 : ℚ) ^ k * (-1 : ℚ) ^ k = 1
TheoremReflecting a power of minus one, odd case#✓fully proved
If \(n\) is an odd natural number and \(k \le n\) is a natural number, then \((-1)^{n-k} = -(-1)^k\) in \(\mathbb{Q}\).
theorem staver_sign_odd {n k : ℕ} (hodd : Odd n) (hk : k ≤ n) :
(-1 : ℚ) ^ (n - k) = -(-1 : ℚ) ^ k
Uses 2 · Used by 1
TheoremReflecting a power of minus one, even case#✓fully proved
If \(n\) is an even natural number and \(k \le n\) is a natural number, then \((-1)^{n-k} = (-1)^k\) in \(\mathbb{Q}\).
theorem staver_sign_even {n k : ℕ} (heven : Even n) (hk : k ≤ n) :
(-1 : ℚ) ^ (n - k) = (-1 : ℚ) ^ k
Uses 2 · Used by 1
TheoremReflection of the alternating reciprocal binomial sum#✓fully proved
For every natural number \(n\), \(\sum_{k=0}^{n} (-1)^{n-k} \binom{n}{k}^{-1} = \sum_{k=0}^{n} (-1)^{k} \binom{n}{k}^{-1}\) in \(\mathbb{Q}\).
theorem staver_reflect_zero (n : ℕ) :
(∑ k ∈ Finset.range (n + 1),
(-1 : ℚ) ^ (n - k) * ((Nat.choose n k : ℚ))⁻¹) =
∑ k ∈ Finset.range (n + 1),
(-1 : ℚ) ^ k * ((Nat.choose n k : ℚ))⁻¹
Used by 1
TheoremReflection of the weighted alternating reciprocal binomial sum#✓fully proved
For every natural number \(n\), \(\sum_{k=0}^{n} (-1)^{n-k} \, k \binom{n}{k}^{-1} = \sum_{k=0}^{n} (-1)^{k} (n-k) \binom{n}{k}^{-1}\) in \(\mathbb{Q}\).
theorem staver_reflect_one (n : ℕ) :
(∑ k ∈ Finset.range (n + 1),
(-1 : ℚ) ^ (n - k) * (k : ℚ) * ((Nat.choose n k : ℚ))⁻¹) =
∑ k ∈ Finset.range (n + 1),
(-1 : ℚ) ^ k * ((n - k : ℕ) : ℚ) * ((Nat.choose n k : ℚ))⁻¹
Used by 1
TheoremStaver's identity for alternating reciprocal binomial sums#✓fully proved
For a natural number \(n\), let \(S_0(n) = \sum_{k=0}^{n} (-1)^{n-k} \binom{n}{k}^{-1}\) and \(S_1(n) = \sum_{k=0}^{n} (-1)^{n-k} \, k \binom{n}{k}^{-1}\), computed in \(\mathbb{Q}\). If \(n\) is even, then \(S_1(n) = \frac{n}{2} S_0(n)\); if \(n\) is odd, then \(S_0(n) = 0\).
theorem staver_identity (n : ℕ) :
(Even n →
∑ k ∈ Finset.range (n + 1), (-1 : ℚ) ^ (n - k) * (k : ℚ) * ((Nat.choose n k : ℚ))⁻¹ =
(n : ℚ) / 2 * ∑ k ∈ Finset.range (n + 1), (-1 : ℚ) ^ (n - k) * ((Nat.choose n k : ℚ))⁻¹) ∧
(Odd n →
∑ k ∈ Finset.range (n + 1), (-1 : ℚ) ^ (n - k) * ((Nat.choose n k : ℚ))⁻¹ = 0)
Sources
- Renzo Sprugnoli, "Alternating Weighted Sums of Inverses of Binomial Coefficients," Journal of Integer Sequences 15 (2012), Article 12.6.3 (Staver's identity), https://cs.uwaterloo.ca/journals/JIS/VOL15/Sprugnoli/sprugnoli6.tex. Both parts follow by pairing
k ↔ n - k: for oddnthe pairs cancel, for evennthey average ton/2.
TheoremStaver's identity for reciprocal binomial sums#✓fully proved
For every natural number \(n\), the following identity between rational numbers holds:
Both sides satisfy the recurrence \(F(n+1) = 1 + \frac{n+2}{2(n+1)} F(n)\) and both equal \(1\) at \(n = 0\), so the identity follows by induction on \(n\).
public theorem staver_reciprocal_binomial_sum (n : Nat) :
(Finset.range (n + 1)).sum (fun k => ((Nat.choose n k : Rat))⁻¹) =
((n + 1 : Rat) / (2 : Rat) ^ (n + 1)) *
(Finset.Icc 1 (n + 1)).sum (fun k => (2 : Rat) ^ k / (k : Rat))
Sources
- https://cs.uwaterloo.ca/journals/JIS/VOL14/Sprugnoli/sprugnoli4.tex. Definition lines 115-125. Formula lines 231-236. The left side expands
S_n^(0), the sum of reciprocal binomial coefficients. All arithmetic is rational (Ratdivision and inverses); the statement holds for alln : Nat, so the edge casen = 0is included.
Loading dependency explorer…
The dependency explorer needs JavaScript and its graph data.