Id: formal-conjectures/OEIS__289411 Url: https://github.com/google-deepmind/formal-conjectures/blob/main/FormalConjectures/OEIS/289411.lean Repo: https://github.com/google-deepmind/formal-conjectures Score: 0 Title: OEIS A289411: Symmetry of digit sum differences $\operatorname{sign}(S_5(k) - S_1(k))$ Domain: math.NT Source: formal-conjectures Problem: number=A289411 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/289411.wip.lean#L167 Page: https://delphi.science/r/formal-conjectures/OEIS__289411 a: $\mathrm{a}(n) = \sum_{k=0}^n \mathrm{sign}(\mathrm{A007953}(5k) - \mathrm{A007953}(k))$. $\mathrm{A007953}(n)$ is the digital sum of $n$ in base 10. The sequence is non-negative, so the sum over $\mathbb{Z}$ is converted to $\mathbb{N}$. Conjecture: For $k \ge 1$, let $m_k = 10^k / 2 - 1$. Then for $i = 0, \ldots, m_k$, we have $a(m_k - i) = a(m_k + i)$. A formal proof has been found with the methods described in arxiv/2605.22763.