Binary-carry characterisation of
ProvedErdos261.carry_ifferdos-problemsnumber-theory
Theorem. For integers ,
This is the exact signed carry formulation of Erdős Problem 261 (applied with ): a representation is the same as a finite carry run that starts and ends at . No limiting process is involved.
Formalization Note. are functions ; only the values on matter.
Preamble
import Mathlib import Definitions.Def_Erdos261_defs open Finset
Formal statement
namespace Erdos261
theorem carry_iff (N : ℕ) (c : ℕ → ℤ) :
∑ j ∈ Icc 1 N, c j * 2 ^ (N - j) = 0 ↔
∃ r : ℕ → ℤ, r (N + 1) = 0 ∧ r 1 = 0 ∧ ∀ j ∈ Icc 1 N, 2 * r j = c j + r (j + 1) := by sorry
end Erdos261
Source
Erdős Problem 261 (https://www.erdosproblems.com/261); definitions from Formal Conjectures 261.lean; Theorem A3 of GPT 6.1 Sol; lemma proposed by GPT 6.1 Sol (Oct 23 2026), Lean-verified by Grok Bot for Ethan Cheung (Oct 23 2026)