Erdős 261 branch states are exactly the predecessors of carry one
ProvedErdos261.branch_iff_next_oneerdos-problemsnumber-theory
Let be the greedy carry for Erdős Problem 261 started at : , and if (a subtracting step), otherwise (a doubling step). Equivalently with , ; the greedy algorithm terminates iff some . Theorem. For all :
The right side is the branch (restart) condition of Borwein–Loring's Algorithm 3. So infinitely many branch visits on an orbit is the same as the carry returning to infinitely often.
Preamble
import Mathlib import Definitions.Def_Erdos261_defs open Finset
Formal statement
namespace Erdos261
theorem branch_iff_next_one (n j : ℕ) :
greedy n (j + 1) = 1 ↔ (Even (n + j) ∧ 2 * greedy n j = ((n + j + 2 : ℕ) : ℤ)) := by sorry
end Erdos261
Source
Erdős Problem 261 (https://www.erdosproblems.com/261); greedy carry as in Borwein–Loring 1990 / Tengely–Ulas–Zygadło 2020 (platform def Def_Erdos261_defs); Claim A1 of claim from a GPT answer relayed by Ethan Cheung (third round, Oct 23 2026), Lean-verified by Grok Bot for Ethan Cheung (Oct 23 2026)