Skip to content

Effective Stabilization of Shortest Addition Chains under Repeated Doubling

Piotr Masierak

cs.DS

Abstract

Squaring extends an exponentiation plan for nn to one for 2n2n, but a different plan may avoid the additional multiplication. We give a computable stopping rule for the sequence ℓ(2tn)−t\ell(2^tn)-t, where ℓ\ell is the shortest addition-chain length. The proof examines a shortest chain at the first shift meeting a prescribed excess budget. A sufficiently wide gap between run endpoints would allow the same budget to be met one shift earlier. Bounding the width and number of these gaps gives an explicit horizon. Two paths sharing no doubling gate sharpen it to ⌊log⁡2n⌋+Oa(1)\lfloor\log_2 n\rfloor+O_a(1) for a single target at fixed excess budget aa. We also give a fixed-parameter algorithm that constructs a compressed chain from the positions of the set bits. Assuming completeness of the published classifications through four small steps, we prove the sharp bound k≤⌊log⁡2m⌋−8k\le\lfloor\log_2 m\rfloor-8 for a drop from more than four to four small steps at shift k≥1k\ge1 from an odd base mm, and characterize both equality families. For a fixed set of distinct targets, paths ending at different outputs yield a refined carry bound and an effective joint stabilization horizon. Transposition then extends stabilization to every prescribed positive symbol-count vector and gives an eventually linear penalty for ordering the symbols in separate blocks. The dyadic-ladder case retains a scalar formula.

Create a lesson

Metadata

Categories
cs.DS, cs.IT, math.IT