This paper was converted on www.awesomepapers.org from LaTeX by an anonymous user.
Want to know more? Visit the Converter page.

The Ordered Zeckendorf Game

Ivan Bortnovskyi ib538@cam.ac.uk Department of Pure Mathematics and Mathematical Statistics, Univeristy of Cambridge, Cambridge, United Kingdom, CB3 0WA Michael Lucas ml2130@cam.ac.uk Department of Pure Mathematics and Mathematical Statistics, Univeristy of Cambridge, Cambridge, United Kingdom, CB3 0WA Steven J. Miller Steven.J.Miller@williams.edu Department of Mathematics and Statistics, Williams College, Williamstown, MA 01267 Iana Vranesko yv2@williams.edu Department of Mathematics, Williams College, Williamstown, MA, 01267 Ren Watson renwatson@utexas.edu Department of Mathematics, University of Texas at Austin, Austin, TX 78703  and  Cameron White cjw3@williams.edu Department of Mathematics, Williams College, Williamstown, MA, 01267
(Date: September 22, 2025)
Abstract.

We introduce and analyze the ordered Zeckendorf game, a novel combinatorial two-player game inspired by Zeckendorf’s Theorem, which guarantees a unique decomposition of every positive integer as a sum of non-consecutive Fibonacci numbers. Building on the original Zeckendorf game—previously studied in the context of unordered multisets—we impose a new constraint: all moves must respect the order of summands. The result is a richer and more nuanced strategic landscape that significantly alters game dynamics.

Unlike the classical version, where Player 2 has a dominant strategy for all n>2n>2, our ordered variant reveals a more balanced and unpredictable structure. In particular, we find that Player 1 wins for nearly all values n25n\leq 25, with a single exception at n=18n=18. This shift in strategic outcomes is driven by our game’s key features: adjacency constraints that limit allowable merges and splits to neighboring terms, and the introduction of a switching move that reorders pairs.

We prove that the game always terminates in the Zeckendorf decomposition—now in ascending order—by constructing a strictly decreasing monovariant. We further establish bounds on game complexity: the shortest possible game has length exactly nZ(n)n-Z(n), where Z(n)Z(n) is the number of summands in the Zeckendorf decomposition of nn, while the longest game exhibits quadratic growth, with M(n)n22M(n)\sim\frac{n^{2}}{2} as nn\to\infty.

Empirical simulations suggest that random game trajectories exhibit log-normal convergence in their move distributions. Overall, the ordered Zeckendorf game enriches the landscape of number-theoretic games, posing new algorithmic challenges and offering fertile ground for future exploration into strategic complexity, probabilistic behavior, and generalizations to other recurrence relations.

Key words and phrases:
Fibonacci numbers, Zeckendorf’s Theorem, Zeckendorf Games
The first listed author was supported by The Winston Churchill Foundation of the United States. The NSF grant DMS2242623 supported the fifth listed author, and the fourth and sixth authors were supported by Williams College and the Finnerty fund. Finally, the second listed author was supported by the Dr. Herchel Smith Fellowship Fund.

1. Introduction

1.1. History and Motivation

The Fibonacci sequence is given by F1=1,F2=2F_{1}=1,F_{2}=2, and Fi=Fi+Fi1F_{i}=F_{i}+F_{i-1} for i2i\geq 2. Zeckendorf’s Theorem [9] states that every positive integer can be uniquely represented as a sum of non-consecutive Fibonacci numbers, noting that in order to guarantee uniqueness it is necessary that we have only one term equal to 11. This decomposition can be efficiently obtained via a greedy algorithm, and its structural and probabilistic properties have been extensively investigated across combinatorics, number theory, and discrete mathematics. A game-theoretic interpretation of the theorem was first proposed in [1], where two players alternately perform legal replacements on a multiset of Fibonacci numbers until reaching the unique Zeckendorf decomposition. A formal definition of the classical Zeckendorf Game is given below.

Definition 1.1 (The Two Player Zeckendorf Game).

At the beginning of the game, there is an unordered list of nn 1’s: F1F1F1F_{1}\land F_{1}\land\cdots\land F_{1}. Players alternate turns, and on each turn, a player may make one of the following moves.

  1. (1)

    Merging: Replace FiFi+1F_{i}\land F_{i+1} with Fi+2F_{i+2}.

  2. (2)

    Merging Ones: Replace F1F1F_{1}\land F_{1} with F2F_{2}.

  3. (3)

    Splitting: Replace FiFiF_{i}\land F_{i} with Fi+1Fi2F_{i+1}\land F_{i-2} for i>2i>2.

  4. (4)

    Splitting Twos: Replace F2F2F_{2}\land F_{2} with F3F1F_{3}\land F_{1}.

The game ends when no further moves can be made.

In the classical Zeckendorf game, the order of summands is irrelevant—players operate on unordered collections of Fibonacci numbers, applying merge or split operations regardless of position. It is known that in this formulation, Player 2 has a winning strategy for all n>2n>2, which significantly limits the strategic complexity of the game [2].

To address these limitations and explore deeper combinatorial structures, we introduce a new variant: the ordered Zeckendorf game. In our version, the game begins with an ordered nn-tuple of F1=1F_{1}=1, and all allowed moves are restricted to adjacent elements. The resulting dynamics differ significantly from those in the unordered setting, as adjacency constraints restrict player choices and emphasize positional strategy. Remarkably, we find that for all n25n\leq 25—with the sole exception of n=18n=18, where Player 2 has a winning strategy—Player 1 can force a win. This is in sharp contrast to the classical game and suggests that the introduction of order restores balance and increases strategic depth.

Our variant introduces a novel move: the switch, which allows players to swap adjacent elements out of order. This rule further enhances the game’s complexity, producing larger game trees and requiring careful local planning. The interaction between merging, splitting, and switching operations creates a rich environment for strategic exploration, raising new algorithmic and theoretical questions.

This paper presents a comprehensive analysis of the ordered Zeckendorf game, combining theoretical results with computational observations. We prove that every game terminates in the ascending Zeckendorf decomposition of nn, using a carefully constructed monovariant. We also establish lower and upper bounds on game length and propose a conjectural strategy for maximizing the number of moves. Finally, we investigate the distribution of random play lengths and observe evidence suggesting convergence to a log-normal distribution.

Our work contributes to an expanding literature on Zeckendorf-type games and generalized decompositions. For readers seeking additional context or further directions, we recommend the following references:

  • Beckwith et al. [3], on average gap distributions in generalized Zeckendorf decompositions,

  • Kopp et al. [7], on the number of summands in Zeckendorf decompositions,

  • Gueganic et al. [6], on limiting distributions in generalized settings,

  • Baird-Smith et al. [2], on the generalized Zeckendorf game,

  • Boldyriew et al. [4], on extensions to non-constant recurrence relations,

  • Cusenza et al. [5], on multiplayer and alliance-based Zeckendorf games.

1.2. Main Results

We use FiF_{i} to denote the ithi^{\text{th}} Fibonacci number, where F1=1F_{1}=1, F2=2F_{2}=2, and the recurrence relation Fi+1=Fi+Fi1F_{i+1}=F_{i}+F_{i-1} holds for all i2i\geq 2.

Definition 1.2 (The Two-Player Ordered Zeckendorf Game).

At the start of the game, the state is an ordered list of nn copies of F1F_{1}: (F1,F1,,F1)(F_{1},F_{1},\dots,F_{1}). Players alternate turns, and on each turn, a player may perform one of the following five legal moves.

  1. (1)

    Merging: Replace a pair of adjacent terms (Fi,Fi+1)(F_{i},F_{i+1}) with Fi+2F_{i+2}.

  2. (2)

    Merging Ones: Replace (F1,F1)(F_{1},F_{1}) with F2F_{2}.

  3. (3)

    Splitting: Replace a pair (Fi,Fi)(F_{i},F_{i}) with (Fi2,Fi+1)(F_{i-2},F_{i+1}), for i>2i>2.

  4. (4)

    Splitting Twos: Replace (F2,F2)(F_{2},F_{2}) with (F1,F3)(F_{1},F_{3}).

  5. (5)

    Switching: Swap adjacent elements (Fi,Fj)(Fj,Fi)(F_{i},F_{j})\rightarrow(F_{j},F_{i}) whenever i>ji>j.

The game ends when no further moves can be applied; that is, when the list of Fibonacci numbers is strictly increasing and no merge or split move is possible.

These sum-preserving operations derive naturally from the Fibonacci recurrence and the constraints imposed by ordering. Merges and splits allow construction and deconstruction of Fibonacci terms, while switches restore ascending order to enable further operations. Together, they encode a localized, combinatorial decision-making framework that is both computationally rich and strategically deep.

Our main theoretical results fall into three broad categories: termination and correctness of the game, bounds on its length, and structural conjectures about optimal play.

Theorem 1.3 (Termination and Final State).

The ordered Zeckendorf game always terminates in a finite number of moves. Moreover, the final state is the Zeckendorf decomposition of nn, expressed as a strictly increasing sequence of Fibonacci numbers.

The proof of this result proceeds by defining a suitable monovariant that decreases strictly with each move. The monovariant simultaneously tracks disorder (via inversions) and total weight (via the sum of Fibonacci indices), ensuring that the game cannot cycle and must converge. Importantly, the final configuration must be the unique Zeckendorf decomposition, as all alternative representations are eliminated by the move set. Since the game always terminates in a unique configuration, we can define natural extremal questions: What is the minimal number of moves required? What is the maximum? We begin with the lower bound.

Proposition 1.4 (Shortest Game).

The shortest possible game has length nZ(n)n-Z(n), where Z(n)Z(n) is the number of terms in the Zeckendorf decomposition of nn.

This minimal length corresponds to a greedy strategy in which players always combine adjacent pairs as quickly and effectivelly as possible to reach the final state with minimal intermediate steps.

At the other extreme, we are interested in how long the game can be prolonged under optimal play designed to delay termination.

Theorem 1.5 (Upper Bound on the Maximal Game Length).

Let M(n)M(n) denote the maximal length of the Ordered Zeckendorf game on nn. Then

M(n)n(n1)2.M(n)~\leq~\frac{n(n-1)}{2}.

To complement this upper bound, we provide a lower bound for M(n)M(n) by proposing a specific strategy that aims to maximize the game length.

Definition 1.6 (Long Game Strategy).

The Long Game Strategy (LGS) is defined as the following priority-based strategy.

  1. (1)

    Perform switch moves (in any order).

  2. (2)

    Combine adjacent ones, starting from the left.

  3. (3)

    Perform split moves, starting from the right.

  4. (4)

    Perform merge moves, starting from the left.

Conjecture 1.7 (Strategy for Maximum Length).

The LGS has the longest game length.

This conjecture is supported by exhaustive simulations, providing strong empirical evidence for its effectiveness. Building on this, we establish a lower bound on the maximal game length by following the LGS. This bound requires an auxiliary lemma about the number of repetitions of FiF_{i} for i3i\geq 3 under the LGS. As we establish our lower bound for maximal game length by lower bounding the number of moves necessary to satisfy certain criteria on the number of copies of F1F_{1} and F2F_{2} present in the current decomposition, it is helpful to make the following distinction.

Definition 1.8 (Higher-Index Terms and Lower-Index Terms).

We call a Fibonacci number FiF_{i} a higher-index term if i3i\geq 3, and a lower-index term if i2i\leq 2.

Lemma 1.9 (Repetitions in Higher Index Terms).

Suppose, at some moment, after reordering and merging F1F_{1}’s, the tuple has a form of

(lower-index terms,higher-index terms).(\textit{lower-index terms},\textit{higher-index terms}).

Then the higher-index terms subtuple is either of the following.

  • There are no repeating Fibonacci numbers.

  • There is a single repetition, of one of the following forms:

    1. (1)

      F3,F3,Fi4,F_{3},F_{3},F_{i\geq 4},\dots,

    2. (2)

      F4,F4,Fi5,F_{4},F_{4},F_{i\geq 5},\dots,

    3. (3)

      ,Fjx,Fj,Fj,Fij+1,\dots,F_{j-x},F_{j},F_{j},F_{i\geq j+1},\dots, where x3x\geq 3.

In particular, there is at most one repetition in the higher-index terms. A state-transition graph is shown in Figure 1.

123No Repetitions
Figure 1. Directed graph showing the possible ways to move between game states in Lemma 1.9
Theorem 1.10 (Lower Bound of Maximal Game Length).

The LGS takes at least

n22nlogϕ(n)+o(nlogϕ(n))\frac{n^{2}}{2}-n\log_{\phi}(n)+o(n\log_{\phi}(n))

moves111Here ϕ=1+52\phi=\frac{1+\sqrt{5}}{2} is the golden ratio..

It turns out that we can refine slightly a bound obtained in Theorem 1.5 by similar expression:

Theorem 1.11 (Refined Upper Bound on the Maximal Game Length).
M(n)n22132nlogϕn+o(nlogϕn).M(n)~\leq~\dfrac{n^{2}}{2}-\dfrac{1}{32}n\log_{\phi}n+o(n\log_{\phi}n).

Combining the upper and lower bounds, we arrive at the following asymptotic characterization.

Corollary 1.12 (Asymptotic Behavior of Maximal Game Length).

We have

M(n)n22as n.M(n)~\sim~\frac{n^{2}}{2}\quad\text{as }n\to\infty.

Moreover, we can estimate an error by

n22M(n)=Θ(nlogϕ(n)).\dfrac{n^{2}}{2}-M(n)~=~\Theta(n\log_{\phi}(n)).

2. Termination and Final State

We begin by establishing an upper bound on maximal game length for the Ordered Zeckendorf Game, providing as a corollary game termination and final state.

Proof of Theorem 1.5.

We define a monovariant: for a state S=(Fi1,,Fik)S=(F_{i_{1}},\dots,F_{i_{k}}), let

f(S)=j=1k(k+1j)Fij.f(S)~=~\sum_{j=1}^{k}(k+1-j)F_{i_{j}}.

Note that f(S)j=1kFij=nf(S)\geq\sum_{j=1}^{k}F_{i_{j}}=n.

Now, let us show that each legal move reduces this quantity.

  • When merging (Fi,Fi+1)(F_{i},F_{i+1}) to Fi+2F_{i+2} in the jthj^{\text{th}} position, the weights of all terms to the left of (Fi,Fi+1)(F_{i},F_{i+1}) in SS are decreased by 1. The change in the function at (Fi,Fi+1)(F_{i},F_{i+1}) is

    (kj)Fi+2(k+1j)Fi(kj)Fi+1\displaystyle(k-j)F_{i+2}-(k+1-j)F_{i}-(k-j)F_{i+1}
    =(kj)(Fi+2FiFi+1)Fi\displaystyle=~(k-j)(F_{i+2}-F_{i}-F_{i+1})-F_{i}
    =Fi\displaystyle=~-F_{i}
    <0.\displaystyle<~0.
  • When splitting (Fi,Fi)(F_{i},F_{i}) to (Fi2,Fi+1)(F_{i-2},F_{i+1}), the weights on all other terms stay the same. The change in the function is therefore

    (k+1j)Fi2+(kj)Fi+1(k+1j)Fi(kj)Fi\displaystyle(k+1-j)F_{i-2}+(k-j)F_{i+1}-(k+1-j)F_{i}-(k-j)F_{i}
    =(kj)(Fi2+Fi+12Fi)+Fi2Fi\displaystyle=~(k-j)(F_{i-2}+F_{i+1}-2F_{i})+F_{i-2}-F_{i}
    =Fi1\displaystyle=~-F_{i-1}
    <0.\displaystyle<~0.
  • When splitting (F2,F2)(F_{2},F_{2}) to (F1,F3)(F_{1},F_{3}), the weights on all other terms stay the same. The change in the function is therefore

    (k+1j)F1+(kj)F3(k+1j)F2(kj)F2\displaystyle(k+1-j)F_{1}+(k-j)F_{3}-(k+1-j)F_{2}-(k-j)F_{2}
    =(kj)(F1+F32F2)+F1F2\displaystyle=~(k-j)(F_{1}+F_{3}-2F_{2})+F_{1}-F_{2}
    =1.\displaystyle=~-1.
  • When merging ones, the weights of all summands to the left are decreased by at least 1, and the value of the function at the pair of ones decreases by 1, so the function decreases.

  • When switching (Fij,Fij+1)(F_{i_{j}},F_{i_{j+1}}), given that Fij>Fij+1F_{i_{j}}>F_{i_{j+1}}, the weights of all other summands stay the same, so the change in the function is

    (k+1j)Fij+1+(kj)Fij(k+1j)Fij(kj)Fij+1\displaystyle(k+1-j)F_{i_{j+1}}+(k-j)F_{i_{j}}-(k+1-j)F_{i_{j}}-(k-j)F_{i_{j+1}}
    =Fij+1Fij\displaystyle=~F_{i_{j+1}}-F_{i_{j}}
    <0.\displaystyle<~0.

Since ff begins at n(n+1)/2n(n+1)/2, decreases by at least 1 per move, and ends at at least nn, the number of moves is bounded above by (n2){n\choose 2}. The final configuration must be the ordered Zeckendorf decomposition because any configuration not satisfying the Zeckendorf condition allows further moves, which consequentually proves Theorem 1.3. ∎

Proof of Theorem 1.3.

Proof of Theorem 1.3 follows as an immediate corollary from the above proof of the Theorem 1.5. ∎

3. Game Length: More Bounds and Extremes

In order to establish a lower bound for maximal game length, we first prove our structural lemma verifying the existence of at most one repetition in the higher-index terms of a current decomposition in a LGS game. A state-transition graph accompanying this proof is shown in Figure 1.

Proof of Lemma 1.9.

We proceed by an inductive argument to prove the transitions shown in Figure 1. Namely, at the start of the game, higher-index terms does not contain any elements, so it is in No Repetitions state. We prove that regardless of the move higher-index terms remains in one of four states described above.

For the rest of the proof we suppose there are at least two consecutive F2F_{2} terms. Suppose that after reordering and merging F1F_{1}’s we are in No Repetitions state. Then, according to the priority of moves in the LGS algorithm, the next move will involve splitting two rightmost F2F_{2}’s.

In the first case, we remain in the same game state. In the second, if there is no F3F_{3} at the beginning of higher-index terms, then we still remain in No Repetitions, otherwise we transition into State 1.

In State 1, we have to split two F3F_{3}’s into F1,F4F_{1},F_{4}, so that after reordering and merging of F1F_{1}’s higher-index terms will be of the form:

F4,Fi4,F_{4},~F_{i\geq 4},~\dots

If i>4i>4, then we get back to the No Repetitions, otherwise we transition into State 2.

In the State 2, we have to split two F4F_{4}’s into F2,F5F_{2},F_{5} resulting higher-index terms to be

F5,Fi5,.F_{5},~F_{i\geq 5},~\dots.

If i>5i>5 then we get to the No Repetitions state, or otherwise into State 3, as there are no F3F_{3} or F4F_{4} terms directly to the left of the leftmost F5F_{5}.

In the State 3, we have to split two FjF_{j}’s making higher-index terms of the form

,Fjx,Fj2,Fj+1,Fij+1,.\dots,~F_{j-x},~F_{j-2},~F_{j+1},~F_{i\geq j+1},~\dots.

Note that since x3x\geq 3, terms FjxF_{j-x} and Fj2F_{j-2} are different, so there will be no repetition in this pair. The only repetition can be in the pair Fj+1,Fij+1F_{j+1},F_{i\geq j+1} if i=j+1i=j+1. Then we remain in State 3, otherwise we go back to No Repetitions, concluding the proof. ∎

Utilizing the above result, we are now able to establish our lower bound for maximum game length.

Proof of Theorem 1.10.

For the lower bound, we begin the game by merging the leftmost two copies of F1F_{1}, then moving the copy of F2F_{2} created by this move to the rightmost end of the tuple via n2n-2 switch moves. We are left with the tuple (F1,F1,,F1,F2)(F_{1},F_{1},...,F_{1},F_{2}). As no more switch moves remain, we repeat this process: letting kk denote the number of copies of F1F_{1} remaining, we merge the leftmost two copies of F1F_{1} into a copy of F2F_{2} in a single move and then perform k2k-2 switch moves to move the new copy of F2F_{2} to the right of the k2k-2 remaining copies of F1F_{1}, yielding in k1k-1 moves a tuple consisting of k2k-2 copies of F1F_{1} to the left of nk22\frac{n-k-2}{2} copies of F2F_{2}. We continue iterating this process until k2k\leq 2, noting that we begin with k=nk=n and decrement kk by 22 at each iteration. Thus, this portion of the games terminates in j=0n22n2j1\sum_{j=0}^{\lfloor\frac{n-2}{2}\rfloor}n-2j-1 moves. If nn is odd, this summation is equal to (n1)+(n3)++1=n24(n-1)+(n-3)+...+1=\frac{n^{2}}{4} moves and this portion of the game terminates at the tuple (F1,F2,F2,F2)(F_{1},F_{2},F_{2},...F_{2}), and if nn is even, this summation is equal to (n1)+(n3)++2=(n1)24+n12=n214(n-1)+(n-3)+...+2=\frac{(n-1)^{2}}{4}+\frac{n-1}{2}=\frac{n^{2}-1}{4} and this portion of the game terminates at the tuple (F2,F2,,F2)(F_{2},F_{2},...,F_{2}).

Now, we suppose the tuple has size kk and we write it as (F2,,F2,higher-index terms)(F_{2},\dots,F_{2},\textit{higher-index terms}), where higher-index terms denote terms that are at least F3F_{3}. We consider the number of moves taken to convert it into the (k1)(k-1)-tuple (F2,,F2,higher-index terms)(F_{2},\dots,F_{2},\textit{higher-index terms}). Note that the first kk-tuple only contains a copy of F1F_{1} when nn is odd and k=n2k=\lceil\frac{n}{2}\rceil. We ignore this case in our calculations as it only increases game length. By Lemma 1.9, there is at most one repeated higher-index term, so the number of higher-index terms is bounded by 1\ell-1, where FF_{\ell} is the maximal Fibonacci summand in the Zeckendorf decomposition of nn. By [1], logϕ(5n+1/2)\ell\leq\log_{\phi}(\sqrt{5}n+1/2), so the number of higher-index terms is bounded by

cnlogϕ(5n+1/2)1.c_{n}~\coloneq~\log_{\phi}(\sqrt{5}n+1/2)-1. (1)

Hence, there are at least kcn1k-c_{n}-1 lots of F2F_{2} in the kk-tuple.

We assume that there are at least four lots of F2F_{2} and that there are no lots of F1F_{1}. This holds for cn+5kn2c_{n}+5\leq k\leq\lfloor\frac{n}{2}\rfloor. Then after reordering and splitting the higher-index terms, we have two cases:

  1. (i)

    F3F_{3} is repeated,

  2. (ii)

    no higher-index terms are repeated.

Tables 1 and 2 show the paths to the state where the tuple has a copy of F1F_{1} on the left in each of cases (i) and (ii).

State Moves
(F2,,F2,F3,F3,higher-index terms)(F_{2},\dots,F_{2},F_{3},F_{3},\textit{higher-index terms}) 0
(F2,,F2,F1,F4,higher-index terms)(F_{2},\dots,F_{2},F_{1},F_{4},\textit{higher-index terms}) 1
(F1,F2,,F2,F4,higher-index terms)(F_{1},F_{2},\dots,F_{2},F_{4},\textit{higher-index terms}) kcn\geq k-c_{n}
Table 1. Sequence of moves to introduce F1F_{1} on the left in case (ii).
State Moves
(F2,,F2,F2,F2,higher-index terms)(F_{2},\dots,F_{2},F_{2},F_{2},\textit{higher-index terms}) 0
(F2,,F2,F1,F3,higher-index terms)(F_{2},\dots,F_{2},F_{1},F_{3},\textit{higher-index terms}) 1
(F1,F2,,F2,F3,higher-index terms)(F_{1},F_{2},\dots,F_{2},F_{3},\textit{higher-index terms}) kcn2\geq k-c_{n}-2
Table 2. Sequence of moves to introduce F1F_{1} on the left in case (ii).

After some reordering moves and merging of higher-index terms, we have one of the following cases:

  1. (a)

    F3F_{3} is repeated,

  2. (b)

    no higher-index terms are repeated.

The sequences of moves in each case are shown in Tables 3 and 4.

State Moves
(F1,F2,,F2,F3,F3,higher-index terms)(F_{1},F_{2},\dots,F_{2},F_{3},F_{3},\textit{higher-index terms}) 0
(F1,F2,,F2,F1,F4,higher-index terms)(F_{1},F_{2},\dots,F_{2},F_{1},F_{4},\textit{higher-index terms}) 1
(F1,F1,F2,,F2,F4,higher-index terms)(F_{1},F_{1},F_{2},\dots,F_{2},F_{4},\textit{higher-index terms}) kcn2\geq k-c_{n}-2
(F2,F2,,F2,F4,higher-index terms)(F_{2},F_{2},\dots,F_{2},F_{4},\textit{higher-index terms}) kcn1\geq k-c_{n}-1
Table 3. Sequence of moves until the first merge move in case (a).
State Moves
(F1,F2,,F2,F2,F2,higher-index terms)(F_{1},F_{2},\dots,F_{2},F_{2},F_{2},\textit{higher-index terms}) 0
(F1,F2,,F2,F1,F3,higher-index terms)(F_{1},F_{2},\dots,F_{2},F_{1},F_{3},\textit{higher-index terms}) 1
(F1,F1,F2,,F2,F3,higher-index terms)(F_{1},F_{1},F_{2},\dots,F_{2},F_{3},\textit{higher-index terms}) kcn4\geq k-c_{n}-4
(F2,F2,,F2,F3,higher-index terms)(F_{2},F_{2},\dots,F_{2},F_{3},\textit{higher-index terms}) kcn3\geq k-c_{n}-3
Table 4. Sequence of moves until the first merge move in case (b).

This shows that the number of moves between the game state becoming a kk-tuple and a k1k-1-tuple is at least 2k2cn52k-2c_{n}-5, with cnc_{n} given by (1).

Now we count the number of moves:

M(n)\displaystyle M(n) n24+k=cn+5n2(2k2cn5)\displaystyle~\geq~\frac{n^{2}}{4}+\sum_{k=c_{n}+5}^{\lfloor\frac{n}{2}\rfloor}(2k-2c_{n}-5)
=n24+n2(n2+1)(cn+5)(cn+6)(2cn+5)(n2cn5)\displaystyle~=~\frac{n^{2}}{4}+\lfloor\frac{n}{2}\rfloor\left(\lfloor\frac{n}{2}\rfloor+1\right)-(c_{n}+5)(c_{n}+6)-(2c_{n}+5)\left(\lfloor\frac{n}{2}\rfloor-c_{n}-5\right)
=n22ncn+o(nlog(n))\displaystyle~=~\frac{n^{2}}{2}-nc_{n}+o(n\log(n))
=n22nlogϕ(n)+o(nlog(n))\displaystyle~=~\frac{n^{2}}{2}-n\log_{\phi}(n)+o(n\log(n))

as required. ∎

By analyzing a least decrement of the monovariant from switching and merging moves, we can now establish a refined upper bound with nlogϕ(n)n\log_{\phi}(n) term.

Proof of Theorem 1.11.

We shall think of F1F_{1}’s as an ordered set of stones that are rearranged in piles according to the rules of the game. For example, a pile F4F_{4} consists of five F1F_{1} stones. Note that at the start of the game, each F1F_{1} forms a separate pile by itself. We say that a stone is being manipulated if the pile in which it lies is involved in splitting or merging.

Recall the monovariant defined in the proof of Theorem 1.5: for a current decomposition S=(Fi1,,Fik)S=(F_{i_{1}},\dots,F_{i_{k}}), we let

f(S)=j=1k(k+1j)Fij.f(S)~=~\sum_{j=1}^{k}(k+1-j)F_{i_{j}}.

We first show that each splitting and merging move decreases ff by at least cNcN, with cc a fixed constant and NN the number of stones being manipulated in the move. We also refer to a minimal decrement of ff for each type of move, which is given in the proof of Theorem 1.5.

We consider four cases.

  • When merging Fi2,Fi1F_{i-2},F_{i-1}, we have N=FiN=F_{i}, and ff decreases by at least Fi214Fi=14NF_{i-2}\geq\frac{1}{4}F_{i}=\frac{1}{4}N.

  • When splitting Fi,FiF_{i},F_{i}, we have N=2FiN=2F_{i}, and ff decreases by at least Fi112Fi=14NF_{i-1}\geq\frac{1}{2}F_{i}=\frac{1}{4}N.

  • When splitting F2,F2F_{2},F_{2}, we have N=4N=4, and ff decreases by 1=14N1=\frac{1}{4}N.

  • When merging F1,F1F_{1},F_{1}, ff decreases by at least 11. Noting that N=2N=2, we have 114N1\geq\frac{1}{4}N.

Hence, taking c=14c=\frac{1}{4}, our claim follows. So, to estimate the minimum amount that ff decreases due to merging and splitting moves, we can estimate the individual contribution of each stone. As we have shown that ff decreases by at least cc each time an individual stone is manipulated, then overall, ff decreases by at least

ic#of manipulations of i-th stone.\sum_{i}c\cdot\#\text{of manipulations of $i$-th stone}.

Let FlF_{l} be the largest term in Zeckendorf decomposition of nn. At the end of the game, a pile FlF_{l} contains FlF_{l} stones. Note that when some stone is being manipulated, the index of the pile in which it lies can increase by at most 22: when merging Fi2,Fi1F_{i-2},F_{i-1}, the largest index increment of a stone is from a pile Fi2F_{i-2} to a pile FiF_{i}; when splitting Fi,FiF_{i},F_{i} or combining F1,F1F_{1},F_{1}, the largest index increment of a stone is from a pile FiF_{i} to a pile Fi+1F_{i+1}.

Thus, each stone that ended the game in the pile FlF_{l} was manipulated at least l12\dfrac{l-1}{2} times. Note that Fln/2F_{l}\geq n/2 and l1logϕ(n)/2l-1\geq\log_{\phi}(n)/2 for sufficiently large nn. So, as a result of splitting and merging moves, ff decreases in the course of the game by at least

cFll12cn2logϕn4=132nlogϕn.cF_{l}\dfrac{l-1}{2}~\geq~c\cdot\dfrac{n}{2}\cdot\dfrac{\log_{\phi}n}{4}~=~\dfrac{1}{32}n\log_{\phi}n.

Thus, as we showed in the proof of Theorem 1.5 that each switching move decreases ff by at least 11, there can be no more than

n(n1)2132nlogϕn\dfrac{n(n-1)}{2}-\dfrac{1}{32}n\log_{\phi}n

switching moves. The total number of splitting and merging moves cannot exceed 3n+13n+1 by [8, Theorem 1.3]. Hence, the total number of moves is at most:

n(n1)2132nlogϕn+3n+1=n22132nlogϕn+o(nlogϕn),\dfrac{n(n-1)}{2}-\dfrac{1}{32}n\log_{\phi}n+3n+1~=~\dfrac{n^{2}}{2}-\dfrac{1}{32}n\log_{\phi}n+o(n\log_{\phi}n),

as required. ∎

Remark 3.1.

The longest-game strategy described in Conjecture 1.7 is supported by empirical simulations. However, a rigorous proof establishing its optimality remains an open problem.

We also remark that in the proof above, we can improve a constant before nlogϕ(n)n\log_{\phi}(n) term up to 1/(8ϕ)0.0771/(8\phi)\approx 0.077 by noting that, asymptotically, Fln/ϕF_{l}\geq n/\phi and llogϕ(n)l\geq\log_{\phi}(n). However, assuming that LGS algorithm indeed gives a maximal game length, numerical simulations show that the constant before the nlogϕ(n)n\log_{\phi}(n) term is at least 0.4 and should be much lower that 1, as demonstrated on Figure 4. Hence, while Theorem 1.10 and Theorem 1.11 allow us to establish asymptotic behaviour of n22M(n)\dfrac{n^{2}}{2}-M(n), they contain too crude estimates to give an insight for the explicit constant before nlogϕ(n)n\log_{\phi}(n).

We now establish a sharp lower bound for minimum game length, remarking that this is equivalent to the minimum game length of the classical Zeckendorf Game and is achieved via a game where no switch moves occur.

Proof of Proposition 1.4.

To prove the following proposition, we use the total number of summands as a monovariant, which decreases with each move. Note that switch and split moves preserve the total number of summands, while a merge reduces it by one. Since the game starts with nn summands (all F1F_{1}) and ends with Z(n)Z(n) summands (the number of terms in the Zeckendorf decomposition of nn), the minimum number of moves required to reach the terminal state is nZ(n)n-Z(n).

This bound is achieved by applying the greedy algorithm for constructing the Zeckendorf decomposition with the fewest possible moves. Starting from the initial configuration of nn copies of F1F_{1}, we repeatedly merge adjacent Fibonacci numbers from right to left to create the largest possible Fibonacci term at each step. Once the largest term is formed, we leave it in place and recursively apply the same strategy to the remaining entries to its left. Each merge reduces the total number of summands by one, and the process continues until the configuration matches the Zeckendorf decomposition of nn.

It is worth highlighting an intriguing phenomenon that emerges when analyzing randomly played games, in which each legal move is chosen with equal probability. The empirical evidence gathered from extensive simulations motivates the following conjecture.

Conjecture 3.2.

As nn\to\infty, the distribution of the number of moves in a randomly played game, where all legal moves are equally likely, converges to a log-Gaussian distribution. Under these conditions, the game dynamics are sufficiently symmetric such that each player is equally likely to win.

This conjecture is supported by simulation data presented in Figure 2 and Figure 3, which suggest that the observed move counts exhibit the heavy-tailed, right-skewed characteristics consistent with a log-Gaussian distribution. Furthermore, the symmetry in the outcome frequencies aligns with the theoretical expectation of equal win probabilities for both players under a uniformly random move selection process.

4. Game Winning Strategy

Through exhaustive simulations, we investigated the existence of deterministic winning strategies for both players in the Two-Player Ordered Zeckendorf Game. Our computational experiments reveal that Player 1 possesses a winning strategy for all initial values up to n=17n=17. At n=18n=18, we observe the first instance where Player 2 can force a win under optimal play, indicating a potential transition point in the game’s strategic landscape. Interestingly, in all simulated games for n25n\leq 25, Player 2 is only able to force a win once, suggesting that Player 1 generally has a significant advantage, especially for smaller values of nn.

Due to the combinatorial explosion in the number of game states and legal move sequences, a full resolution of the winner for n>25n>25 was computationally infeasible. The structure of the game tree grows rapidly with nn, and optimal strategies require deep lookahead and pruning heuristics that go beyond naive enumeration.

The existence of a general winning strategy for either player remains an open problem. Furthermore, due to the game’s nontrivial dynamics and the subtle impact of move orderings on future legal moves, it is possible that the game exhibits regions of alternating player advantage or chaotic behavior in terms of outcome predictability.

Future work could include developing a minimax-based heuristic search with alpha-beta pruning to more efficiently explore deeper game trees and extract structural insights into what governs winning positions. Additionally, identifying game invariants or monotonic features that correlate with winning states could pave the way toward a formal characterization of optimal strategies.

5. Conclusion

We have introduced and analyzed a novel ordered variant of the Zeckendorf game. We established key theoretical results, including termination guarantees, asymptotic bounds on the maximum number of moves, and lower bounds on the minimal number of required moves. Our study combines combinatorial structure with game dynamics, revealing rich mathematical behavior in even small initial configurations.

Despite our progress, many open questions remain.

  • Optimal Strategy Characterization: Can we rigorously prove the existence and form of an optimal winning strategy for Player 1 or Player 2 across all nn? Is the observed dominance of Player 1 for small nn a universal phenomenon, or do other exceptions arise at larger scales?

  • Maximal Game Length Proof: While we conjecture a quadratic asymptotic growth and provide a priority-based strategy achieving near-maximal length, a formal proof of optimality remains open. Can analytic or combinatorial tools be developed to close this gap?

  • Generalizations to Other Recurrences: How does the introduction of order and switching moves affect games based on generalized Fibonacci sequences, such as kk-bonacci sequences or non-constant recurrences? Do analogous termination and length results hold?

  • Probabilistic Analysis of Random Play: Our empirical evidence suggests a log-Gaussian distribution of move counts under uniform random play. Can this distribution be derived rigorously? What are the deeper probabilistic and ergodic properties of the random dynamics?

  • Computational Complexity and Algorithmic Approaches: Given the rapid growth of the game tree, can efficient algorithms or heuristics be developed to determine winning positions for larger nn? Are there polynomial-time methods to approximate optimal strategies or game lengths?

  • Structural Invariants and Monovariants: Are there additional invariants or monotonic quantities beyond those currently identified that govern the evolution of game states? How might these guide strategic reasoning or simplify analysis?

  • Multiplayer or Alliance Variants: Extending to more than two players or cooperative alliances—how do order and adjacency constraints reshape the strategic landscape? Can these variants be fully characterized or related to known combinatorial game theory frameworks?

These questions point toward deeper connections with additive number theory, algorithmic game theory, and dynamical systems. We believe this variant offers a promising platform for further exploration of combinatorial games and integer representations.

All simulations and visualizations used in our analysis were implemented in Python and C++, and the full codebase is publicly available at https://github.com/vraneskoy/zeckendorf_ordered_game.

6. Appendix

The following two figures provide computational evidence in support of Conjecture 3.2.

Refer to caption
Figure 2. Frequency graphs of the number of moves in 10,000 simulations of the Zeckendorf Game with random moves when n=150n=150 with the best fit log Gaussian over the data points.
Refer to caption
Figure 3. The distribution of outcomes for 10,000 random games for n=150n=150.

Corollary 1.12 gives us an error term in our upper bound on maximal game length of n2/2M(n)=Θ(nlogϕ(n))n^{2}/2-M(n)=\Theta(n\log_{\phi}(n)). The following figure provides an estimation for the constant before the nlogϕ(n)n\log_{\phi}(n) term.

Refer to caption
Figure 4. As nn\to\infty, the ratio n22M(n)nlogϕ(n)\dfrac{\frac{n^{2}}{2}-M(n)}{n\log_{\phi}(n)}

converges to a number bigger than 0.4 and much lower than 1.

References

  • [1] Paul Baird-Smith, Alyssa Epstein, Kristen Flint, and Steven J Miller. The Zeckendorf Game. In Combinatorial and Additive Number Theory, New York Number Theory Seminar, pages 25–38. Springer, 2018.
  • [2] Paul Baird-Smith, Alyssa Epstein, Kristen Flint, and Steven J Miller. The generalized Zeckendorf game. The Fibonacci Quarterly, 57(5):1–14, 2019.
  • [3] Olivia Beckwith, Amanda Bower, Louis Gaudet, Rachel Insoft, Shiyu Li, Steven J Miller, and Philip Tosteson. The average gap distribution for generalized Zeckendorf decompositions. The Fibonacci Quarterly, 51(1):13–27, 2013.
  • [4] Elżbieta Bołdyriew, Anna Cusenza, Linglong Dai, Pei Ding, Aidan Dunkelberg, John Haviland, Kate Huffman, Dianhui Ke, Daniel Kleber, Jason Kuretski, et al. Extending Zeckendorf’s theorem to a non-constant recurrence and the Zeckendorf Game on this non-constant recurrence relation. The Fibonacci Quarterly, 58(5):55–76, 2020.
  • [5] Anna Cusenza, Aidan Dunkelberg, Kate Huffman, Dianhui Ke, Daniel Kleber, Steven J Miller, Clayton Mizgerd, Vashisth Tiwari, Jingkai Ye, and Xiaoyan Zheng. Winning strategy for multiplayer and multialliance Zeckendorf games. The Fibonacci Quarterly, 59(4):308–318, 2021.
  • [6] Alexandre Gueganic, Granger Carty, Yujin H Kim, Steven J Miller, Alina Shubina, Shannon Sweitzer, Eric Winsor, and Jianing Yang. Limiting distributions in Generalized Zeckendorf Decompositions. The Fibonacci Quarterly, 57(2):109–125, 2019.
  • [7] Murat Koloğlu, Gene S Kopp, Steven J Miller, and Yinghui Wang. On the number of summands in Zeckendorf decompositions. The Fibonacci Quarterly, 49(2):116–130, 2011.
  • [8] Ruoci Li, Xiaonan Li, Steven J Miller, Clayton Mizgerd, Chenyang Sun, Dong Xia, and Zhyi Zhou. Deterministic zeckendorf games. The Fibonacci Quarterly, 58(5):152–160, 2020.
  • [9] Édouard Zeckendorf. Representations des nombres naturels par une somme de nombres de fibonacci on de nombres de lucas. Bulletin de La Society Royale des Sciences de Liege, pages 179–182, 1972.