The Closed Form of the Harmonic-Mean-Numerator Recurrence
Abstract
Stephan’s three-residue closed form for the harmonic-mean-numerator recurrence.
Definition 1.1 (The harmonic-mean-numerator recurrence).
Formalization. D5/S1/Recurrence/Invariants/StephanHarmonicMeanNumeratorClosedForm.a (✓ std3).
Citation. Ralf Stephan (2010). OEIS A107928, a(n) is the numerator of harmonic mean of a(n-1) and a(n-2). URL: https://oeis.org/A107928.
Commentary.
a(0) = 0 is the offset-1 sentinel; the harmonic mean is taken in the rationals and Rat.num is its reduced numerator. The displayed toNat converts that integer numerator to a natural number.
Theorem 1.2 (Stephan’s three-residue closed form).
Proof. Machine-checked in Lean as D5/S1/Recurrence/Invariants/StephanHarmonicMeanNumeratorClosedForm.stephan_a107928 (✓ std3). ∎
Resolves. Problems/oeis-a107928-harmonic-mean-numerator-closed-form (proved) by D5/S1/Recurrence/Invariants/StephanHarmonicMeanNumeratorClosedForm.stephan_a107928.
Source. Repository-derived.
Acknowledgement. Ralf Stephan (2010). OEIS A107928, a(n) is the numerator of harmonic mean of a(n-1) and a(n-2). URL: https://oeis.org/A107928.
Commentary.
Block induction propagates the pair (a(3m+1), a(3m+2)) = (38^m, 28^m). The coprime reductions and the block invariant are carried inside the proof. The exponent m-1 uses natural-number subtraction.
References
- Truth anchor:
D5/S1/Recurrence/Invariants/StephanHarmonicMeanNumeratorClosedForm.a - Truth anchor:
D5/S1/Recurrence/Invariants/StephanHarmonicMeanNumeratorClosedForm.stephan_a107928