{"id":"formal-conjectures/OEIS__243106","url":"https://github.com/google-deepmind/formal-conjectures/blob/main/FormalConjectures/OEIS/243106.lean","repo":"https://github.com/google-deepmind/formal-conjectures","score":0,"title":"OEIS A243106: Signed digit sums in bases $b \\ge 5$","domain":"math.NT","source":"formal-conjectures","problem":{"number":"A243106","status":"solved","collection":"oeis"},"reviews":0,"subject":"math.NT","summary":"The sequence $$a(n) = \\sum_{k=1}^n (-1)^{\\operatorname{isprime}(k)} 10^k$$ where the sign is $-1$ if $k$ is prime, and $1$ if $k$ is not prime. Conjecture: When expressed in base $b \\ge 5$, the absolute value of any partial sum $\\sum \\pm b^k$ only contains digits belonging to $\\{0, 1, b-2, b-1\\}$. A formal proof has been found with the methods described in arxiv/2605.22763.","category":"research","comments":0,"disputed":false,"division":"math","mentions":0,"discussed":0,"reactions":{},"formalized":true,"formalizations":["https://github.com/mo271/formal-conjectures/blob/a32396489dcb8f86c3549b93aa358ac6a10a3a1f/FormalConjectures/OEIS/243106.wip.lean#L140"]}