Id: formal-conjectures/OEIS__227582 Url: https://github.com/google-deepmind/formal-conjectures/blob/main/FormalConjectures/OEIS/227582.lean Repo: https://github.com/google-deepmind/formal-conjectures Score: 0 Title: OEIS A227582: Representation of sequence terms by harmonic numbers $\lfloor \frac{1}{2H(n) - H(n^2+n-1) - \gamma} \rfloor$ Domain: math.NT Source: formal-conjectures Problem: number=A227582 status=solved collection=oeis Reviews: 0 Subject: math.NT Category: research Comments: 0 Disputed: false Division: math Mentions: 0 Discussed: 0 Formalized: true Formalizations: https://github.com/mo271/formal-conjectures/blob/a32396489dcb8f86c3549b93aa358ac6a10a3a1f/FormalConjectures/OEIS/227582.wip.lean#L282 Page: https://delphi.science/r/formal-conjectures/OEIS__227582 The sequence $b_n$ such that $A227582(n) = b_{n-1}$ for $n \ge 1$. This is the 0-indexed solution to the linear recurrence in $\mathbb{Z}$. Expansion of $(2+3x+2x^2+2x^3+3x^4+x^5-x^6)/(1-2x+x^2-x^5+2x^6-x^7)$, 1-indexed. Conjecture (from A227581): $a(n) = \lfloor 1/(2 H(n) - H(n^2 + n - 1) - \gamma) \rfloor$, where $H$ denotes harmonic numbers and $\gamma$ denotes the Euler-Mascheroni constant. A formal proof has been found with the methods described in arxiv/2605.22763.