Keyboard shortcuts

Press ← or → to navigate between chapters

Press ? to show this help

Press Esc to hide this help

Minimum Signed Digits from Triple Binary Differences

Abstract

Ordinary binary digits determine a minimum nonadjacent signed expansion.

Theorem 1.1 (A minimum signed expansion from ordinary binary digits).

Proof. Machine-checked in Lean as D5/S1/Words/Palindromes/PeriodDoubling/TripleBinaryDigits.triple_digits_value_and_minimality (✓ std3). ∎

Source. Repository-derived.

Commentary.

At position i, the signed digit is the difference of the binary digits at position i+1 of 3X and X. The bound on h pads both numbers by leading zeros. The resulting signed digit list has value X, no adjacent nonzero digits, and exactly the minimum number of nonzero digits. Nat.div and mod denote natural integer division and remainder. Cast denotes the natural-to-integer embedding. Digits are listed from the lowest position upward.

References