arXiv:2610.10095math.COOct 2026

Manuscript Offprint

arXiv:2610.10095

Making Every Number from 1 to N Under a Fixed Cycle of ++, ×\times, −-, ÷÷

Sean Lesmana, Theodore Tjugiarto

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Start with the number 2. At each move, combine two numbers already made, but the operations must be used in the fixed repeating order +, ×, −, ÷. We ask for the fewest moves needed to make every integer from 1 to N. Since 2 is already one of the numbers we want and each move makes at most one new number, at least N - 1 moves are needed. We show that N - 1 moves are also enough for every N≥9N \geq 9. Conventional induction cannot work, because a division that comes right after a completed interval {1,…,P}\{1, \ldots, P\} produces numbers already made. Instead we extend a completed interval {1,…,P}\{1, \ldots, P\} to {1,…,3P}\{1, \ldots, 3P\} all at once, which counting shows is the smallest multiplicative extension P→kPP \to kP that can work, and then adjust the last few moves to reach every other N. For 9≤N≤339 \leq N \leq 33 we give explicit sequences, found by computer search.

1 Introduction

Start with the number 2. At each move we combine two numbers we already have to make a new one. Numbers can be reused, so 2+2=42+2=4 and then 2×4=82\times4=8 is allowed. The operations, however, must follow the fixed order

+,×,−,÷,+,×,−,÷,⋯+,\times,-,\div,+,\times,-,\div,\cdots

and a division is only allowed when the answer is a positive integer.

How few moves does it take to make all of 1, 2, ..., N? The challenge with the fixed order is that the cycle sometimes calls for a division when we would rather add, and a division need not even yield a whole number. We show that for N≥9N \geq 9 the fixed order does not increase the smallest number of moves needed. The reason is that the order fixes which operation we use, but not which numbers we use it on. Move 6 has to be a multiplication, and we may multiply any two numbers made so far, which turns out to be freedom enough. Our main result is the following.

Theorem 1. For every N≥9N \geq 9, starting from 2 with the cycle +, ×, −, ÷, all of 1, ..., N can be made in exactly N - 1 moves, and no fewer is possible.

The bound N≥9N \geq 9 cannot be lowered (Section 9).

Related problems have been studied as addition chains [1], where numbers are built only by adding, and B-chains [2], where each step may use any operation from a fixed set B. Here the target is a whole interval rather than one number, and the operation at each step is fixed in advance. Finding shortest chains is hard in general. Downey, Leong and Sethi showed that the addition-sequence problem, of reaching several given numbers as cheaply as possible, is NP-complete [1]. That difficulty comes from targets that are few and arbitrary, so that a short chain must be searched for and its optimality argued afterwards. Here the target is a complete interval, and the counting bound of Section 3 settles optimality: a sequence that wastes no move meets it, so it is optimal by construction and no search is needed to prove it. Addition chains are treated at length by Knuth [3]. A related question is integer complexity, the fewest 1s needed to write n with + and × [4], which again fixes one target and leaves the operations free.

The lower bound is Lemma 1. Sections 4 and 5 explain why the interval has to be completed a block at a time, and when each block can start. Section 6 extends {1,…,P}\{1,\ldots,P\} to {1,…,3P}\{1,\ldots,3P\}, Sections 7 and 8 adjust the last few moves to reach every N≥34N \geq 34, and Section 9 finishes the proof with the small cases.