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

Deterministic Zeckendorf Games

Ruoci Li Elite Scholars Program, New York, NY ruocili2002@yahoo.com Xiaonan Li Léman Manhattan Preparatory School, NY lxn020905@gmail.com Steven J. Miller Department of Mathematics and Statistics, Williams College, Williamstown, MA 01267 sjm1@williams.edu Clay Mizgerd Department of Mathematics and Statistics, Williams College, Williamstown, MA 01267 cmm12@@williams.edu Chenyang Sun Department of Mathematics and Statistics, Williams College, Williamstown, MA 01267 cs19@williams.edu Dong Xia Ross School, East Hampton, NY dongxia08@yahoo.com  and  Zhyi Zhou Elite Preparatory Academy, NJ zyzhou00@yahoo.com
Abstract.

Zeckendorf [Ze] proved that every positive integer can be written uniquely as the sum of non-adjacent Fibonacci numbers. We further explore a two-player Zeckendorf game introduced in [BEFM1, BEMFcant]: Given a fixed integer nn and an initial decomposition of n=nF1n=nF_{1}, players alternate using moves related to the recurrence relation Fn+1=Fn+Fn1F_{n+1}=F_{n}+F_{n_{1}}, and the last player to move wins. We improve the upper bound on the number of moves possible and show that it is of the same order in nn as the lower bound; this is an improvement by a logarithm over previous work. The new upper bound is 3n3Z(n)IZ(n)+13n-3Z(n)-IZ(n)+1, and the existing lower bound is sharp at nZ(n)n-Z(n) moves, where Z(n)Z(n) is the number of terms in the Zeckendorf decomposition of nn and IZ(n)IZ(n) is the sum of indices in the same Zeckendorf decomposition of nn. We also studied four deterministic variants of the game, where there was a fixed order on which available move one takes: Combine Largest, Split Largest, Combine Smallest and Split Smallest. We prove that Combine Largest and Split Largest realize the lower bound. Split Smallest has the largest number of moves over all possible games, and is close to the new upper bound. For Combine Split games, the number of moves grows linearly with nn.

Keywords: Fibonacci numbers, Zeckendorf decomposition, game theory.
MSC 2010: 11P99 (primary), 11K99 (secondary).

The authors were partially supported by NSF grants DMS1265673 and DMS1561945. We thank the Elite Scholars Program for facilitating this collaboration.

1. Introduction

1.1. The Zeckendorf Game

The Fibonacci numbers are among the most interesting and famous sequences; see [Kos] for a collection of some of their properties. We define them by F1=1,F2=2F_{1}=1,F_{2}=2 and Fn+1=Fn+Fn1F_{n+1}=F_{n}+F_{n-1}; with these initial conditions we have Zeckendorf’s Theorem [Ze]: every positive integer has a unique representation as a sum of non-adjacent Fibonacci numbers.111We clearly lose uniqueness if we include F0=0F_{0}=0 or start F1=F2=1F_{1}=F_{2}=1. For example,

2020= 1597+377+34+8+3+1=F16+F13+F8+F5+F3+F1.2020\ =\ 1597+377+34+8+3+1\ =\ F_{16}+F_{13}+F_{8}+F_{5}+F_{3}+F_{1}.

There is now an extensive literature on proofs of this theorem and generalizations; see for example [Al, Br, CFHMN1, CFHMN2, CHHMPV, Day, DDKMMV, Fr, GTNP, Ha, Ho, Ke, Len, MW1, MW2].

Baird-Smith, Epstein, Flint and Miller [BEFM1, BEFM2] create a game based on the Zeckendorf decompositions. We quote from [BEFM2], describing the game and previous results. We first introduce some notation. By {1n}\{1^{n}\} or {F1n}\{{F_{1}}^{n}\} we mean nn copies of 11, the first Fibonacci number. If we have 3 copies of F1F_{1}, 2 copies of F2F_{2}, and 7 copies of F4F_{4}, we could write either {F13F22F47}\{{F_{1}}^{3}\wedge{F_{2}}^{2}\wedge{F_{4}}^{7}\} or {132257}\{1^{3}\wedge 2^{2}\wedge 5^{7}\}.

Definition 1.1 (The Two Player Zeckendorf Game).

At the beginning of the game, there is an unordered list of nn 1’s. Let F1=1,F2=2F_{1}=1,F_{2}=2, and Fi+1=Fi+Fi1F_{i+1}=F_{i}+F_{i-1}; therefore the initial list is {F1n}\{{F_{1}}^{n}\}. On each turn, a player can do one of the following moves.

  1. (1)

    If the list contains two consecutive Fibonacci numbers, Fi1,FiF_{i-1},F_{i}, then a player can change these to Fi+1F_{i+1}. We denote this move {Fi1FiFi+1}\{F_{i-1}\wedge F_{i}\rightarrow F_{i+1}\}.

  2. (2)

    If the list has two of the same Fibonacci number, Fi,FiF_{i},F_{i}, then

    1. (a)

      if i=1i=1, a player can change F1,F1F_{1},F_{1} to F2F_{2}, denoted by {F1F1F2}\{F_{1}\wedge F_{1}\rightarrow F_{2}\},

    2. (b)

      if i=2i=2, a player can change F2,F2F_{2},F_{2} to F1,F3F_{1},F_{3}, denoted by {F2F2F1F3}\{F_{2}\wedge F_{2}\rightarrow F_{1}\wedge F_{3}\}, and

    3. (c)

      if i3i\geq 3, a player can change Fi,FiF_{i},F_{i} to Fi2,Fi+1F_{i-2},F_{i+1}, denoted by {FiFiFi2Fi+1}\{F_{i}\wedge F_{i}\rightarrow F_{i-2}\wedge F_{i+1}\}.

The players alternative moving. The game ends when one player moves to create the Zeckendorf decomposition.

The moves of the game are derived from the recurrence, either combining terms to make the next in the sequence or splitting terms with multiple copies. The game is well-defined and ends after at most inni_{n}\cdot n moves, where ii is the largest index such that FinF_{i}\leq n. Thus the game takes at most order nlognn\log n moves as the Fibonacci numbers grow exponentially fast.222With our normalization of F1=1,F2=2F_{1}=1,F_{2}=2 we have FnF_{n} is the closet integer to ϕn+1/5\phi^{n+1}/\sqrt{5}, where ϕ=(1+5)/2\phi=(1+\sqrt{5})/2 is the golden mean. The shortest game takes nZ(n)n-Z(n) moves, where Z(n)Z(n) is the number of terms in nn’s Zeckendorf decomposition; this is realized by using a Greedy Algorithm (at each turn one must move on the largest possible index). If n>2n>2 then Player Two has a winning strategy, although the proof of this is an existence proof and does not construct a winning strategy.

1.2. Deterministic Zeckendorf Games

As the optimal strategy of the Zeckendorf Game remains elusive, we study instead four deterministic games. These are defined by specifying the order in which moves must be done. While there is thus no strategy,333Our games are equivalent to the classic card game of War, at least under the assumption that you have no freedom in how you pick up the cards. it is illuminating to study these special cases as it provides some results that clarify some of the behavior of the general game.

The four games are as follows; for each game we list the order in which the moves must be done. By adding 1’s we mean the move F1F1F2F_{1}\wedge F_{1}\to F_{2}.

  • Combine largest: adding consecutive indices from largest to smallest, adding 1’s, splitting from largest to smallest.

  • Split largest: splitting from largest to smallest, adding consecutive indices from largest to smallest, adding 1’s.

  • Combine smallest: adding 1’s, adding consecutive indices from smallest to largest, splitting from smallest to largest.

  • Split smallest: splitting from smallest to largest, adding 1’s, adding consecutive indices from smallest to largest.

The number of moves of a game is the sum of the number of combining moves and the number of splitting moves. We let MCiMC_{i} denote the number of combining moves at the index ii with 2i2\leq i, with of course MC1MC_{1} the number of adding 1’s. Similarly the number of splitting moves at ii is denoted MSiMS_{i} for i2i\geq 2 (note we are considering adding 1’s as a combining move and not a splitting one; we explain this choice in Remark 3.4). By an abuse of notation, we also refer to combining moves at ii by MCiMC_{i} and splitting moves at ii by MSiMS_{i}.

Our main result is a proof of the conjecture from [BEFM1, BEFM2] that the number of moves in any game is linear in nn.

Theorem 1.2.

The number of moves in the longest game is bounded by 3n3Z(n)IZ(n)+13n-3Z(n)-IZ(n)+1, where Z(n)Z(n) is the number of terms in the Zeckendorf decomposition of nn and IZ(n)IZ(n) is the sum of indices in nn’s Zeckendorf decomposition. As the number of moves is at least nZ(n)n-Z(n), each game takes order nn moves to play.

The previous upper bound (order nlognn\log n) was already very close to the known lower bound (order nn), indicating that a new perspective would be needed to close the gap and have them at the same order of magnitude. We quickly sketch the key ideas, and highlight why we are able to remove the logarithmic factor. The starting point is the monovariant introduced in [BEFM1, BEFM2], which we review and expand on in §2. We use related monovariants to derive a bound growing linearly with nn for a weighted sum of all moves in a game except for splitting F2F_{2}’s or F3F_{3}’s. We then prove that the number of combining moves is independent of how the game is played, and the number of splitting moves at indices 2 or 3 is related to the number of combining moves at 1 and 2, which we just proved grows linearly with nn and completes the proof.

More is true for our deterministic games. We can rigorously determine the behavior of two of the games, and conjecture for the other two, with data strongly supporting those claims.

Theorem 1.3.

The Combine Largest and Split Largest games also realize the lower bound. Both have MS(n)=0MS(n)=0 and MC(n)=nZ(n)MC(n)=n-Z(n).

Conjecture 1.4.

For Split Smallest, the number of moves grows linearly with nn; numerically the constant appears to be the golden mean squared. For Combine Smallest games, the number of moves grows linearly with nn, with the constant appearing to be approximately 1.2061.206.

We end with two conjectures. In [BEFM1, BEFM2], it was conjectured that as nn goes to infinity, the number of moves in a random game when all legal moves are equally likely converges to a Gaussian. The data suggests the average number of moves is approximately 1.2n1.2n.

Conjecture 1.5.

The number of splitting moves in a random game converges to a Gaussian, with mean and variance approximately 0.215n0.215n.

Conjecture 1.6.

It was conjectured that the longest game on any nn is achieved by applying splitting moves whenever possible. Specifically, the longest possible game applies moves in the following order: adding 1’s, splitting from smallest to largest, and adding consecutive indices from smallest to largest. We find another candidate for a longest possible game, with moves in the following order: splitting from smallest to largest, adding 1’s, and adding consecutive indices, from smallest to largest. This is the deterministic game Split Smallest.

2. Monovariants

We use two monovariants in our investigation. The first is obvious, and has not been explicitly isolated in earlier work.

Monovariant I: the number of terms in the decomposition of nn never increases throughout the game.

The proof is immediate, as we only have two types of moves. One combines two terms into one, which decreases by 1 the number of terms in the decomposition of nn; the other splits a repeated term into two distinct terms, which does not change the number of summands.

Monovariant II: The sum of the indices indices in the decomposition of nn never increases throughout the game.

This is slightly different than the monovariant used in [BEFM1, BEFM2], where the sum of the square-root of the indices is studied. The advantage of this quantity is that this sum is strictly decreases, and must decrease by at least a fixed positive amount which is bounded below by a positive function of nn. Thus one can immediately deduce that the Zeckendorf game terminates. Related monovariants are used to analyze a related property of Zeckendorf decompositions, both for the Fibonacci and other recurrences: of all decompositions of an integer nn as a sum of Fibonacci numbers, no decomposition has fewer summands than the Zeckendorf decomposition. In [CHHMPV], the authors find conditions on recurrence relations where no decomposition has fewer summands than the Generalized Zeckedorf decomposition.

For our purposes, however, it is easier to work with Monovariant II. It is straightforward to show that the sum of the indices never increases. We only have four moves to consider (as moves involving the index 1 are defined slightly differently, we need to study that case separately).

  • Adding consecutive terms: If we replace FkFk1F_{k}\wedge F_{k-1} with Fk+1F_{k+1}, for k2k\geq 2, we replace k+k1k+k-1 with k+1k+1, and the sum of the indices has decreased by k20k-2\geq 0 (it is positive so long as k3k\geq 3).

  • Adding 1’s: If we replace F1F1F_{1}\wedge F_{1} with F2F_{2} there is no change in the sum of the indices, as 1+1=21+1=2.

  • Splitting terms: If we replace FkFkF_{k}\wedge F_{k} with Fk+1Fk2F_{k+1}\wedge F_{k-2}, for k3k\geq 3, we replace 2k2k with (k+1)+(k2)(k+1)+(k-2), and the sum of the indices has decreased by 1.

  • Splitting 2’s: If we replace 2F22F_{2} with F3F1F_{3}\wedge F_{1} then there is no change in the sum of the indices, as 22=3+12\cdot 2=3+1.

3. Length of Games

We use the two monovariants introduced in §2 to derive bounds for weighted sums of the number of each type of move; our theorems are then immediate consequences. We first isolate some lemmas which will be useful in the proof.

3.1. Preliminary Lemmas

When the game starts, the sum of the indices is nn. From [BEFM1, BEFM2] the game always ends in nn’s Zecknedorf decomposition, which by definition has IZ(n)IZ(n) summands. Let imax(n)i_{\max}(n) be the largest index mm such that FmnF_{m}\leq n; this will be the largest index in nn’s decomposition, and by Binet’s formula we know

Fm=15(1+52)m+115(152)m+1=ϕm+15(1ϕ)m+15,F_{m}\ =\ \frac{1}{\sqrt{5}}\left(\frac{1+\sqrt{5}}{2}\right)^{m+1}-\frac{1}{\sqrt{5}}\left(\frac{1-\sqrt{5}}{2}\right)^{m+1}\ =\ \frac{\phi^{m+1}}{\sqrt{5}}-\frac{(1-\phi)^{m+1}}{\sqrt{5}}, (3.1)

where ϕ\phi is the Golden mean. As the second term above exponentially decays to zero, we have Fmϕm+1/5F_{m}\approx\phi^{m+1}/\sqrt{5}. Thus the largest index is bounded by logϕ(n5)1+1\lfloor\log_{\phi}(n\sqrt{5})-1\rfloor+1, or

imax(n)logϕ(n5),i_{\max}(n)\ \leq\ \log_{\phi}(n\sqrt{5}), (3.2)

which is of order logϕ(n)\log_{\phi}(n).

Lemma 3.1.

The sum of the indices in nn’s decomposition, IZ(n)IZ(n), is bounded by a constant multiple of logϕ2(n)\log_{\phi}^{2}(n):

IZ(n)(logϕ(n5)+3)22.IZ(n)\ \leq\ \frac{(\log_{\phi}(n\sqrt{5})+3)^{2}}{2}. (3.3)
Proof.

As the Zeckendorf decomposition cannot have adjacent summands, the maximum sum of indices is the sum of every other term to imax(n)i_{\max}(n). To be safe, we start with index 2 and end at imax(n)+2i_{\max}(n)+2; this negligibly increases the sum as we are only adding one more term, while the sum is on the order of the square of the largest summand. We have

2+4++(imax(n)+2)\displaystyle 2+4+\cdots+(i_{\max}(n)+2) =\displaystyle\ =\ 2(1+2++imax(n)+22)\displaystyle 2\left(1+2+\cdots+\frac{i_{\max}(n)+2}{2}\right) (3.4)
=\displaystyle\ =\ 2imax(n)+22imax(n)+42<(imax(n)+3)22.\displaystyle 2\frac{i_{\max}(n)+2}{2}\frac{i_{\max}(n)+4}{2}\ <\ \frac{(i_{\max}(n)+3)^{2}}{2}.

From (3.2) we know imax(n)logϕ(n5)i_{\max}(n)\leq\log_{\phi}(n\sqrt{5}); thus

IZ(n)(logϕ(n5)+3)22,IZ(n)\ \leq\ \frac{(\log_{\phi}(n\sqrt{5})+3)^{2}}{2}, (3.5)

so IZ(n)IZ(n) is bounded by a constant multiple of logϕ2(n)\log_{\phi}^{2}(n). ∎

We now prove the first of the two useful results on weighted sums of indices.

Lemma 3.2.

We have

MC3+2MC4++(imax(n)2))MCimax(n)+MS3+MS4++MSimax(n)=nIZ(n).MC_{3}+2MC_{4}+\cdots+(i_{\max}(n)-2))MC_{i_{\max}(n)}+MS_{3}+MS_{4}+\cdots+MS_{i_{\max}(n)}\ =\ n-IZ(n). (3.6)

In particular, for 2kimax(n)2\leq k\leq i_{\max}(n) we have

MCknIZ(n)k2.MC_{k}\ \leq\ \frac{n-IZ(n)}{k-2}. (3.7)
Proof.

When the game starts we have nn copies of F1F_{1}, for an index sum of nn; the game ends in nn’s Zeckendorf decomposition, with index sum of IZ(n)IZ(n). Thus the change in the index sum, nIZ(n)n-IZ(n), must equal the change from each move. We now compute that change by looking at what happens at each index.

From §2, the index sum changes by k2k-2 when we combine at index kk if k2k\geq 2. Thus the contribution from all these moves is (k2)Mk(k-2)M_{k}; note there is no contribution when k=2k=2. There is no change in the index sum from adding 1’s, so MC1MC_{1} will not appear in the relation; similarly MS2MS_{2} will not appear as that moves also does not change the index sum. If k3k\geq 3 then the splitting move at kk decreases the index sum by 1, so the contribution of all the splitting moves at kk is simply MSkMS_{k}. Combining, we find

MC3+2MC4+3MC5++(imax(n)2))MCimax(n)+MS3++MSimax(n)=nIZ(n).MC_{3}+2MC_{4}+3MC_{5}+\cdots+(i_{\max}(n)-2))MC_{i_{\max}(n)}+MS_{3}+\cdots+MS_{i_{\max}(n)}\ =\ n-IZ(n). (3.8)

The bound on MCkMC_{k} follows immediately; as we will show later that the number of moves is at most 3n3n, we can obtain similar linear in nn bounds for MC1MC_{1} and MC2MC_{2}. ∎

Lemma 3.3.

The number of combining moves in a game, MC(n)MC(n), is independent of how the game is played, and

MC(n):=MC1+MC2++MCimax(n)=nZ(n),MC(n)\ :=\ MC_{1}+MC_{2}+\cdots+MC_{i_{\max}(n)}\ =\ n-Z(n), (3.9)

where Z(n)Z(n) is the number of terms in nn’s Zeckendorf decomposition.

Proof.

As we start with nn indices and end with Z(n)Z(n) indices, the change in indices throughout the game is nZ(n)n-Z(n). Each splitting move leaves the number of terms in nn’s decomposition alone, while each combining move decreases the number of terms by one; (3.9) follows immediately, and we see in particular this quantity is independent of how the game is played. ∎

Remark 3.4.

The lemma above is why we view F1F1=F2F_{1}\wedge F_{1}=F_{2} as a combining move and not a splitting move F1F1=F2F1F_{1}\wedge F_{1}=F_{2}\wedge F_{-1}. Not only do we not have F1F_{-1} as an available summand, but with this definition all combining moves decrease the number of summands by 1 while each splitting move leaves the number unchanged.

3.2. Proof of Theorem 1.2

We now prove our main result.

Proof of Theorem 1.2.

Lemmas 3.2 and 3.3 almost suffice for the proof, as they provide bounds for weighted sums of MC1,,MCimax(n),MS4,,MSimax(n)MC_{1},\dots,MC_{i_{\max}(n)},MS_{4},\dots,MS_{i_{\max}(n)}. From Lemma 3.2 we have

MC3+2MC4++(imax(n)2))MCimax(n)+MS3+MS4++MSimax(n)=nIZ(n),MC_{3}+2MC_{4}+\cdots+(i_{\max}(n)-2))MC_{i_{\max}(n)}+MS_{3}+MS_{4}+\cdots+MS_{i_{\max}(n)}\ =\ n-IZ(n), (3.10)

and thus

MC3+MC4++MCimax(n)+MS3+MS4++MSimax(n)nIZ(n).MC_{3}+MC_{4}+\cdots+MC_{i_{\max}(n)}+MS_{3}+MS_{4}+\cdots+MS_{i_{\max}(n)}\ \leq\ n-IZ(n). (3.11)

Note the sum above misses MC1,MC2MC_{1},MC_{2} and MS2MS_{2}.

We can easily bound MC1+MC2MC_{1}+MC_{2} from Lemma 3.3:

MC(n):=MC1+MC2++MCimax(n)=nZ(n);MC(n)\ :=\ MC_{1}+MC_{2}+\cdots+MC_{i_{\max}(n)}\ =\ n-Z(n); (3.12)

thus MC1+MC2nZ(n)MC_{1}+MC_{2}\leq n-Z(n), and adding this to (3.11) yields

MC1++MCimax(n)+MS3++MSimax(n) 2nZ(n)IZ(n).MC_{1}+\cdots+MC_{i_{\max}(n)}+MS_{3}+\cdots+MS_{i_{\max}(n)}\ \leq\ 2n-Z(n)-IZ(n). (3.13)

All that remains is to bound MS2MS_{2}. We start the game with nn copies of F1F_{1}, and let δ1\delta_{1} be how many F1F_{1}’s we have when the game terminates in nn’s Zeckendorf decomposition; clearly δ1{0,1}\delta_{1}\in\{0,1\} as we cannot have a repeated summand from the definition of the Zeckendorf decomposition, and its value is independent of how the game is played. Every time we combine two 1’s to make a 2 (F1F1=F2F_{1}\wedge F_{1}=F_{2}) we decrease the number of F1F_{1}’s by 2, while every time we combine a 1 and a 2 to make a 3 (F1F2=F3F_{1}\wedge F_{2}=F_{3}) we decrease the number of F1F_{1}’s by 1. These are the only moves that decrease the number of F1F_{1}’s; the only moves that increase the number of F1F_{1}’s are the splitting moves at 1 and 2. Each splitting move at 2 (2F2=F3F12F_{2}=F_{3}\wedge F_{1}) increases the number of F1F_{1}’s by 1, as does each splitting move at 3 (2F3=F4F12F_{3}=F_{4}\wedge F_{1}). Thus

n2MC12MC2+MS2+MS3=δ1,orMS2+MS3= 2MC1+2MC2n+δ.n-2MC_{1}-2MC_{2}+MS_{2}+MS_{3}\ =\ \delta_{1},\ \ \ {\rm or}\ \ \ MS_{2}+MS_{3}\ =\ 2MC_{1}+2MC_{2}-n+\delta. (3.14)

By Lemma 3.3 we can bound MC1+MC2MC_{1}+MC_{2} by MC(n)nZ(n)MC(n)\leq n-Z(n), and thus

MS2 2(nZ(n))n+1=n2Z(n)+1.MS_{2}\ \leq\ 2(n-Z(n))-n+1\ =\ n-2Z(n)+1. (3.15)

Combining our bound for MS2MS_{2} with what we have established in (3.13) yields

MC1++MCimax(n)+MS1++MSimax(n) 3n3Z(n)IZ(n)+1,MC_{1}+\cdots+MC_{i_{\max}(n)}+MS_{1}+\cdots+MS_{i_{\max}(n)}\ \leq\ 3n-3Z(n)-IZ(n)+1, (3.16)

which is essentially of size 3n3n as Z(n)Z(n) is of order logϕ(n)\log_{\phi}(n) and IZ(n)IZ(n) is at most logϕ2(n)\log_{\phi}^{2}(n).

This proves the upper bound for any game grows linearly with nn; as every game exactly MC(n)=nZ(n)MC(n)=n-Z(n) combining moves, the lower bound is also linear in nn, completing the proof. ∎

3.3. Analysis of Combine Largest and Split Largest

Proof of Theorem 1.3.

We prove that the Combine Largest and Split Largest games also realize the lower bound. Remember that for each game the order in which we do moves is as follows:

  • Combine largest: adding consecutive indices from largest to smallest, adding 1’s, splitting from largest to smallest.

  • Split largest: splitting from largest to smallest, adding consecutive indices from largest to smallest, adding 1’s.

The claims follow if we can show in each game we never have a splitting move, as we showed in Lemma 3.3 that the number of combining moves is always MC(n)=nZ(n)MC(n)=n-Z(n).

We show that for these two games, at any state in the game if FijF_{i}^{j} is in the current decomposition of nn and i2i\geq 2, then j=1j=1. We proceed by induction. The initial list, our base case, is {F1n}\{F_{1}^{n}\}, so the claim is true before the first move. The first move must be adding 1’s: F1nF1n2F2F_{1}^{n}\to F_{1}^{n-2}\wedge F_{2}. After this move, the statement is still true. Though not necessary, we can check and see that the claim is still true after the second and third moves.

We now turn to the inductive step; we may assume that if you look at the decomposition of nn then for any index ii if FijF_{i}^{j} is in the list, then j=1j=1. Since there is no possible splitting move as each index appears at most once, our move must be chosen in the following order: adding consecutive terms from largest to smallest, and adding 1’s.

Case 1: Consecutive Terms: If the list contains two or more pairs of consecutive Fibonacci numbers, the largest FiF_{i} is selected for the combining move. Note we cannot have Fi+1F_{i+1} in our list, as if that were the case we would have chosen Fi+1F_{i+1} as the largest term. Thus after this move we still have each index i2i\geq 2 appearing at most once.

Case 2: No Consecutive Terms: If nn’s decomposition does not contain consecutive Fibonacci numbers, then the only possible move is adding 1’s. Note that we cannot have F2F_{2} in our list, as if we did we would have combined F1F_{1} and F2F_{2}. Thus after combining two 1’s we still do not have any index i2i\geq 2 occurring more than once. ∎

4. Conjectures on the Number of Moves

Conjecture 1.4 states that for Split Smallest, the number of moves grows linearly with nn (numerically the constant appears to be the golden mean squared), while for Combine Smallest games, the number of moves grows linearly with nn (with the constant appearing to be approximately 1.2061.206). We arrived at these results from analyzing large numbers of games; we provide representative examples in Figures 1 and 2.

Refer to caption
Refer to caption
Figure 1. Results of deterministic game Split Smallest for 1000 consecutive nn, starting at 1,600,000. Left: Plot of the number of moves versus nn. Right: Histogram of number of moves for nn minus ϕ2n\phi^{2}n, where ϕ=(1+5)/2\phi=(1+\sqrt{5})/2 is the Golden Mean.
Refer to caption
Refer to caption
Figure 2. Results of deterministic game Combine Smallest for 1000 consecutive nn, starting at 1,600,000. Left: Plot of the number of moves versus nn. Right: Histogram of number of moves for nn minus 1.20647n1.20647n.

We then looked at random games. By Lemma 3.3 the number of combining moves in a game depends only on nn; thus all that varies is the number of splitting moves. We played 10,000 games with nn equal to one million, and display the results in Figure 3 plotted against a Gaussian. The fit is very good, providing support for Conjecture 1.5.

Refer to caption
Figure 3. Plot of 10,000 random games with n=1,000,000n=1,000,000; the data was standardized to have mean 0 and variance 1, and we overlay a plot of the standard normal.

Finally, our investigations of the four deterministic games, and Lemma 3.3 which states that all games have the same number of combining moves, provides support for Conjecture 1.6. The move counts from the two deterministic algorithms in the conjecture were identical for all n<1,600,000n<1,600,000.

We wrote a Java program to explore Zeckendorf games, available at

https://web.williams.edu/Mathematics/sjmiller/public_html/math/papers/ZGame.zip.

In enumerating all games with n150n\leq 150 we found the two deterministic games of Conjecture 1.6 always had the largest number of moves among all games for a given nn.

5. Future Work

There are many questions related to the Zeckendorf game which can be investigated; several of these will be done by students of Miller in the 2020 PolymathREU. These include the following.

  • The lower and upper bound on game lengths differ by essentially a factor of 3; what is true about the number of moves in most games or in a random game?

  • From [BEFM1, BEFM2] we know that if n>2n>2 then Player Two has a winning strategy; what is it?

  • What if there are pp players; what can you say about winning strategies for various nn and pp?

  • The number of combining moves is always nZ(n)n-Z(n), while the number of splitting moves appears to grow linearly with nn, at approximately 1.206n1.206n; prove the latter.

  • For each of the four deterministic games, how long do they take and who wins as a function of nn?

6. Future Work

Studies of Zeckerdorff game can be extended in many more ways. This paper covered the Zeckendorf Game quite extensively. We proposed the approach to study combining/adding moves and splitting moves separately, the improved upper bounds was found on the number of moves in any game, in the end a few deterministic algorithms were analyzed. We leave the general Player 2 winning strategy for future research.

References

  • [Al] H. Alpert, Differences of multiple Fibonacci numbers, Integers: Electronic Journal of Combinatorial Number Theory 9 (2009), 745–749.
  • [BEFM1] P. Baird-Smith, A. Epstein, K. Flint and S. J. Miller, The Generalized Zeckendorf Game, Proceedings of the 18th International Conference on Fibonacci Numbers and Their Applications, Fibonacci Quarterly 57 (2019), no. 5 (to appear). https://arxiv.org/pdf/1809.04883.
  • [BEFM2] P. Baird-Smith, A. Epstein, K. Flint and S. J. Miller, The Zeckendorf Game, Combinatorial and Additive Number Theory III, CANT, New York, USA, 2017 and 2018, Springer Proceedings in Mathematics & Statistics 297 (2020), 25–38.
  • [Br] J. L. Brown, Jr., Zeckendorf’s Theorem and Some Applications, The Fibonacci Quarterly, Vol. 2, No. 3 (Oct. 1964), pages 163–168.
  • [CFHMN1] M. Catral, P. Ford, P. E. Harris, S. J. Miller, and D. Nelson, Generalizing Zeckendorf’s Theorem: The Kentucky Sequence, Fibonacci Quarterly. (52 (2014), no. 5, 68–90).
  • [CFHMN2] M. Catral, P. Ford, P. E. Harris, S. J. Miller, and D. Nelson, Legal Decompositions Arising from Non-positive Linear Recurrences, Fibonacci Quarterly 54 (2016), no. 4, 3448–365.
  • [CHHMPV] K. Cordwell, M. Hlavacek, C. Huynh, S. J. Miller, C. Peterson and Y. N. T. Vu, On Summand Minimality of Generalized Zeckendorf Decompositions, Research in Number Theory 4 (2018), no. 43, https://doi.org/10.1007/s40993-018-0137-7.
  • [Day] D. E. Daykin, Representation of Natural Numbers as Sums of Generalized Fibonacci Numbers, J. London Mathematical Society 35 (1960), 143–160.
  • [DDKMMV] P. Demontigny, T. Do, A. Kulkarni, S. J. Miller, D. Moon and U. Varma, Generalizing Zeckendorf’s Theorem to ff-decompositions, Journal of Number Theory 141 (2014), 136–158.
  • [Fr] A. S. Fraenkel, Systems of numeration, Amer. Math. Monthly 92 (1985), no. 2, 105–114.
  • [GTNP] P. J. Grabner, R. F. Tichy, I. Nemes, and A. Pethö, Generalized Zeckendorf expansions, Appl. Math. Lett. 7 (1994), no. 2, 25–28.
  • [Ha] N. Hamlin, Representing Positive Integers as a Sum of Linear Recurrence Sequences, Fibonacci Quarterly 50 (2012), no. 2, 99–105.
  • [Ho] V. E. Hoggatt, Generalized Zeckendorf theorem, Fibonacci Quarterly 10 (1972), no. 1 (special issue on representations), pages 89–93.
  • [Ke] T. J. Keller, Generalizations of Zeckendorf’s theorem, Fibonacci Quarterly 10 (1972), no. 1 (special issue on representations), pages 95–102.
  • [Kos] T. Koshy, Fibonacci and Lucas Numbers with Applications, Wiley-Interscience, New York, 2001.
  • [Len] T. Lengyel, A Counting Based Proof of the Generalized Zeckendorf’s Theorem, Fibonacci Quarterly 44 (2006), no. 4, 324–325.
  • [MW1] S. Miller, Y. Wang, From Fibonacci Numbers to Central Limit Type Theorems, Journal of Combinatorial Theory, Series A 119 (2012), no. 7, 1398–1413.
  • [MW2] S. Miller, Y. Wang, Gaussian Behavior in Generalized Zeckendorf Decompositions, Combinatorial and Additive Number Theory, CANT 2011 and 2012 (Melvyn B. Nathanson, editor), Springer Proceedings in Mathematics & Statistics (2014), 159–173.
  • [Ze] E. Zeckendorf, Représentation des nombres naturels par une somme des nombres de Fibonacci ou de nombres de Lucas, Bulletin de la Société Royale des Sciences de Liège 41 (1972), pages 179–182.