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

Sums of kk-bonacci Numbers

Harold R. Parks Department of Mathematics
Oregon State University
Corvallis
Oregon 97331 USA
[email protected]
 and  Dean C. Wills Cisco, San Francisco, California 94107 USA [email protected]
Abstract.

We give a combinatorial proof of a formula giving the partial sums of the kk-bonacci sequence as alternating sums of powers of two multiplied by binomial coefficients. As a corollary we obtain a formula for the kk-bonacci numbers.

1. Introduction

For k1k\geq 1, define kk-bonacci numbers fn(k)f_{n}^{(k)} by the initial values and recursion111Note that the k=2k=2 case gives the usual Fibonacci numbers with the index shifted by 11. The combinatorial approach to the Fibonacci numbers in [2] employs this shift. Extending that combinatorial approach to all k2k\geq 2, we have shifted onto the negative indices the beginning k1k-1 zeros that usually appear in the kk-bonacci sequence. Details are given in Theorem 2.1. Also, note that fn(1)=1f_{n}^{(1)}=1 for all n0n\geq 0.

fn(k)={0,n<0,1,n=0,i=1kfni(k),n1.f_{n}^{(k)}=\begin{cases}0,&n<0,\\ 1,&n=0,\\ \sum_{i=1}^{k}f_{n-i}^{(k)},&n\geq 1.\end{cases} (1.1)

The kk-bonacci numbers were introduced under the name kk-generalized Fibonacci numbers by Miles [9] in 1960. According to [7], the Miles paper may well be the earliest paper on the topic to have appeared in a widely available journal.222The 33-bonacci numbers were mentioned by Agronomof in a note that appeared in 1914 in [1]. It appears that the terminology “kk-bonacci” was in use as early as 1973 by V. E. Hoggatt, Jr., and Marjorie Bicknell [3]. That terminology has continued to be used since then, though not universally.

This paper is about the following formula for the partial sums of of the sequence of kk-bonacci numbers: For k1k\geq 1 and n0n\geq 0, the sum of the first n+1n+1 kk-bonacci numbers is given by333We use the notation \lfloor\cdot\rfloor for the floor function, so x\lfloor x\rfloor equals the largest integer less than or equal to xx.

i=0nfi(k)=j=0n/(k+1)(1)j(njkj)2nj(k+1).\sum_{i=0}^{n}f_{i}^{(k)}=\sum_{j=0}^{\lfloor n/(k+1)\rfloor}(-1)^{j}\binom{n-jk}{j}2^{n-j(k+1)}\,. (1.2)

We obtained the formula (1.2) in the process of developing growth estimates for sums of kk-bonacci numbers that we had hoped to apply to another problem. Since this formula seemed to be new, we put aside the original problem to more fully understand the formula. We found an algebraic proof for (1.2), but we wondered if the formula could be understood at a deeper level—or at least be proved in another way—by using a combinatorial approach.

Thanks to an anonymous referee (who used [6] to track down the reference), we have learned that in fact the formula (1.2) should be credited to a 1925 paper by Otto Dunkel. In Dunkel’s paper [4], if one simply compares the equation for P2(n)P_{2}(n) in section 6 to the equation for P2(n)P_{2}(n) in section 10, then one sees that (1.2) holds.

While Dunkel’s paper was concerned with various probability problems in coin tossing, his method was to proceed via a difference equation and the roots of that equation, so that at its heart Dunkel’s proof of (1.2) is algebraic.

In this paper, we give a combinatorial proof of (1.2). Also, because one can obtain the kk-bonacci numbers from the differences of their partial sums, we obtain a corollary formula (3.2) for the kk-bonacci numbers. Our formula for the kk-bonacci numbers is similar to equation (12) in Corollary 1 of [7] and the formula in Theorem 2.4 of [5]. It is not related to the formulas for the kk-bonacci numbers appearing in [8] and [9]. It also does not occur in Dunkel’s paper.

2. Combinatorics

In [2], Benjamin and Quinn begin with the observation that the number of ordered sums of 11s and 22s that add to nn is the (n+1)(n+1)st Fibonacci number. They then introduce a visual representation that many, if not most, people will find easier to think about than sums of 11s and 22s. They suggest thinking of the 11s as squares and the 22s as dominoes, so that the number of ordered sums of 11s and 22s that add to nn is the number of ways to tile a ruler of length nn with squares and dominoes (see Figure 1).

When we generalize to the kk-bonacci numbers we need to consider the number of ordered sums of 11s, 22s, \ldots\ , kks that add to nn. We will use the metaphor of covering a ruler of length nn by tiles of lengths 11 through kk (see Figure 2). This metaphorical ruler will run from left to right. The numbers obtained in this way are in fact kk-bonacci numbers.

111121112111222
Figure 1. The f4(2)=5f^{(2)}_{4}=5 ways of tiling a ruler of length 4 with squares and dominoes.
11112111211122231134
Figure 2. The f4(4)=8f^{(4)}_{4}=8 ways of tiling a ruler of length 4 with tiles of lengths 1, 2, 3, 4.
Theorem 2.1.

For k1k\geq 1 and n0n\geq 0, each fn(k)f_{n}^{(k)} equals the number of ways to cover a length nn ruler using tiles of lengths 11 through kk, where by definition there are 0 ways to cover a ruler of negative length.

Proof.

Fix k1k\geq 1.

Since there is exactly one way to tile a ruler of length 0 (and that is to use no tiles), and since there are 0 ways to tile a ruler of negative length, we see that the number of ways to tile a ruler of length nn using tiles of lengths 11 through kk satisfies the initial values of (1.1) for n0n\leq 0.

To complete the proof, we will show that for n1n\geq 1 the number of ways to tile a ruler of length nn using tiles of lengths 11 through kk satisfies the recurrence relation of (1.1). We argue inductively as follows: For each tiling of the ruler of length nn, there must be a rightmost tile. That rightmost tile has a length {1,2,,k}\ell\in\{1,2,\dots,k\}, and in case n<kn<k we also know that that rightmost tile has length n\ell\leq n. The part of the ruler to the left of the last tile can be tiled fn(k)f_{n-\ell}^{(k)} ways and we have fn(k)=0f_{n-\ell}^{(k)}=0 in case >n\ell>n. Thus it holds that

fn(k)==1kfn(k).f_{n}^{(k)}=\sum_{\ell=1}^{k}f_{n-\ell}^{(k)}\,.

Theorem 2.2.

For k1k\geq 1 and n0n\geq 0, we have

i=0nfi(k)=i=0n/(k+1)(1)i(niki)2ni(k+1).\sum_{i=0}^{n}f_{i}^{(k)}=\sum_{i=0}^{\lfloor n/(k+1)\rfloor}(-1)^{i}\binom{n-ik}{i}2^{n-i(k+1)}\,. (2.1)
Proof.

Observe that i=0nfi(k)\sum_{i=0}^{n}f_{i}^{(k)} is the number of ways to place tiles of lengths 11 through kk end-to-end with total length not exceeding nn. To prove the theorem, we will count the number of ways that this can be done.

Let UU be the set of tilings of length not exceeding nn where there is no restriction on the sizes of the tiles that are used. The cardinality of UU is easily obtained as follows: On a ruler of length nn, place a hash mark at the 0 position and at each of the integer positions 11 to nn either do or do not place a hash mark. Then between any two hash marks place a tile that fills the space. The last tile ends at the last hash mark. Because there are 2n2^{n} ways to place or not place the hash marks, we have

#(U)=2n.\#(\kern 0.50003ptU\kern 0.50003pt)=2^{n}\,.

In case knk\geq n, no tile has length exceeding kk, so this value, 2n2^{n}, equals the left-hand side of (2.1). Also, when knk\geq n, the summation on the right-hand side of (2.1) reduces to the single term when i=0i=0, that is, to 2n2^{n}. Thus we see that (2.1) holds. From here on we assume that n>kn>k.

To obtain the value on the left-hand side of (2.1) we must subtract from 2n2^{n} the number of tilings in UU that include at least one tile of length greater than kk. To this end, define UjU_{j} to be the set of tilings in UU for which a tile that has length greater than kk has its right end at integer position jj. Note that this tile does not need to be the rightmost tile with length greater than kk. We need to evaluate

#(1jnUj).\#\left(\bigcup_{1\leq j\leq n}U_{j}\right)\,.

The Principle of Inclusion-Exclusion (see for example [10] or [11]) tells us that

#(1jnUj)=1jn#(Uj)1j1<j2n#(Uj1Uj2)+.\#\left(\bigcup_{1\leq j\leq n}U_{j}\right)=\sum_{1\leq j\leq n}\#\Big{(}U_{j}\Big{)}-\sum_{1\leq j_{1}<j_{2}\leq n}\#\Big{(}U_{j_{1}}\cap U_{j_{2}}\Big{)}+\cdots\,. (2.2)

To evaluate the right-hand side of (2.2), we will need to compute

1j1<j2<<jin#(Uj1Uj2Uji).\sum_{1\leq j_{1}<j_{2}<\cdots<j_{i}\leq n}\#\Big{(}U_{j_{1}}\cap U_{j_{2}}\cap\cdots\cap U_{j_{i}}\Big{)}\,. (2.3)

Note that the set Uj1Uj2UjiU_{j_{1}}\cap U_{j_{2}}\cap\cdots\cap U_{j_{i}} will be empty unless

k<j1 and j+k<j+1 for =1,2,,i1,k<j_{1}\hbox{\rm\ \ and\ \ }j_{\ell}+k<j_{\ell+1}\hbox{\rm\ \ for\ \ }\ell=1,2,\dots,i-1\,, (2.4)

because no two tiles are allowed to overlap. Note that (2.4) tells us that i(k+1)ni(k+1)\leq n, so only when in/(k+1)i\leq\lfloor n/(k+1)\rfloor will any of the summands in (2.3) be nonzero.

Working with a ruler of length nikn-ik, we will show how to evaluate (2.3). (The construction we are about to describe is illustrated in Figure 3.) Choose ii numbers from {1,2,,nik}\{1,2,\dots,n-ik\}. Of course, this can be done in (niki)\binom{n-ik}{i} ways. Label the chosen numbers r1,r2,,rir_{1},r_{2},\dots,r_{i} so that

0<r1 and r<r+1 for =1,2,,i1.0<r_{1}\hbox{\rm\ \ and\ \ }r_{\ell}<r_{\ell+1}\hbox{\rm\ \ for\ \ }\ell=1,2,\dots,i-1\,. (2.5)

For =1,2,,i\ell=1,2,\dots,i, put a dashed hash mark at integer position rr_{\ell}.

Next, place a normal hash mark at 0. There remain ni(k+1)n-i(k+1) unmarked positive integer positions between 11 and nikn-ik. At each of these remaining unmarked positions either do or do not place a normal hash mark. This can be done in 2ni(k+1)2^{n-i(k+1)} ways. Between any two hash marks (dashed and dashed, normal and normal, or dashed and normal) place a tile that fills the space. The last tile ends at the last hash mark, and the tiling has total length not exceeding nikn-ik.

Place i=2i=2 dashed hash marks. Insert a normal hash mark at 0 and up to ni(k+1)=3n-i(k+1)=3 more. Place tiles between the hash marks. kkkk Replace tiles that have a dashed hash mark on their right end with tiles kk units longer.
Figure 3. Example of the construction with n=11,k=3,i=2n=11,\ k=3,\ i=2. One of three possible normal hash marks is inserted.

Finally, each tile that has its right end at a dashed hash mark is replaced with a tile that is kk units longer while the tiles to its right are moved along kk units to accommodate the longer tile. Thus we have created a tiling the length of which does not exceed nn and that for each =1,2,,i\ell=1,2,\dots,i has a tile of length greater than or equal to k+1k+1 with its right end at integer position j:=r+kj_{\ell}:=r_{\ell}+\ell k. The jj_{\ell} satisfy (2.4) if and only if the rr_{\ell} satisfy condition (2.5). Thus we see that

1j1<j2<<jin#(Uj1Uj2Uji)=(niki) 2ni(k+1).\sum_{1\leq j_{1}<j_{2}<\cdots<j_{i}\leq n}\#\Big{(}U_{j_{1}}\cap U_{j_{2}}\cap\cdots\cap U_{j_{i}}\Big{)}=\binom{n-ik}{i}\,2^{n-i(k+1)}\,.

3. Corollaries

Corollary 3.1.

For k1k\geq 1, n0n\geq 0, and mm with n/kmn/(k+1){\lfloor n/k\rfloor}\geq m\geq{\lfloor n/(k+1)\rfloor}, it holds that

i=0nfi(k)=j=0m(1)j(njkj)2nj(k+1).\sum_{i=0}^{n}f_{i}^{(k)}=\sum_{j=0}^{m}(-1)^{j}\binom{n-jk}{j}2^{n-j(k+1)}\,. (3.1)
Proof.

The summands that are on the right-hand side of (3.1), but not on the right-hand side of (1.2), are those for which

n/(k+1)<jn/k{\lfloor n/(k+1)\rfloor}<j\leq{\lfloor n/k\rfloor}

holds. Note that the left-hand inequality is equivalent to njk<jn-jk<j and the right-hand inequality is equivalent to njk0n-jk\geq 0, so that for such a jj the binomial coefficient (njkj)\binom{n-jk}{j} equals 0. ∎

As a second corollary we obtain a formula for the kk-bonacci numbers in terms of binomial coefficients and powers of 22.

Corollary 3.2.

For k1k\geq 1 and n0n\geq 0, we have444To avoid 0/00/0 when n=j=0n=j=0, we use the Kronecker δ\delta defined by δi,j=1\delta_{i,j}=1 if i=ji=j and δi,j=0\delta_{i,j}=0 if iji\neq j.

fn(k)=j=0n/(k+1)(1)j(njk)+j+δn,02(njk)+δn,0(njkj) 2nj(k+1).f_{n}^{(k)}=\sum_{j=0}^{\lfloor n/(k+1)\rfloor}(-1)^{j}\,\frac{(n-jk)+j+\delta_{n,0}}{2(n-jk)+\delta_{n,0}}\,\binom{n-jk}{j}\,2^{n-j(k+1)}\,. (3.2)
Proof.

For n=0n=0, the summation on the right-hand side of (3.2) consist of only the j=0j=0 term, so the result is confirmed by (1.1).

For k1k\geq 1 and n1n\geq 1, using (1.2), we have:

fn(k)=i=0nfi(k)i=1n1fi(k)f_{n}^{(k)}=\sum_{i=0}^{n}f_{i}^{(k)}-\sum_{i=1}^{n-1}f_{i}^{(k)}

and we will use (3.1) to replace the partial sums of kk-bonacci numbers in this equation. We will need to examine the upper limits in the summations that occur in (3.1).

Set q=n/(k+1)q=\lfloor n/(k+1)\rfloor. Then n=q(k+1)+rn=q(k+1)+r, where rr is an integer with 0r<k+10\leq r<k+1. We see that

n1k=q+q+r1k.\frac{n-1}{k}=q+\frac{q+r-1}{k}\,.

Since n1n\geq 1, one or both of qq and rr must be positive. We conclude that (n1)/kq\lfloor(n-1)/k\rfloor\geq q, so when (3.1) is applied with nn replaced by n1n-1 we may use qq as the upper limit of summation.

We have

fn(k)\displaystyle f_{n}^{(k)} =j=0q(1)j(njkj)2nj(k+1)j=0q(1)j((n1)jkj)2(n1)j(k+1)\displaystyle=\sum_{j=0}^{q}(-1)^{j}\binom{n-jk}{j}2^{n-j(k+1)}-\sum_{j=0}^{q}(-1)^{j}\binom{(n-1)-jk}{j}2^{(n-1)-j(k+1)}
=j=0q(1)j[2(njkj)(njk1j)]12 2nj(k+1)\displaystyle=\sum_{j=0}^{q}(-1)^{j}\left[2\binom{n-jk}{j}-\binom{n-jk-1}{j}\right]\frac{1}{2}\,2^{n-j(k+1)}
=j=0q(1)j12[2(njk)njknjkjnjk](njkj)2nj(k+1)\displaystyle=\sum_{j=0}^{q}(-1)^{j}\frac{1}{2}\left[\frac{2(n-jk)}{n-jk}-\frac{n-jk-j}{n-jk}\right]\binom{n-jk}{j}2^{n-j(k+1)}
=j=0q(1)j(njk)+j2(njk)(njkj)2nj(k+1)\displaystyle=\sum_{j=0}^{q}(-1)^{j}\frac{(n-jk)+j}{2(n-jk)}\binom{n-jk}{j}2^{n-j(k+1)}

References

  • [1] M. Agronomof. Sur une suite récurrente. Mathesis: Recueil Mathématique, 4:125–126, 1914.
  • [2] Arthur T. Benjamin and Jennifer J. Quinn. Proofs that Really Count: The Art of Combinatorial Proof. Mathematical Association of America, 2003.
  • [3] Marjorie Bicknell and V. E. Hoggatt, Jr. Generalized Fibonacci polynomials. Fibonacci Quarterly, 11(5):457–465, December 1973.
  • [4] Otto Dunkel. Solutions of a probability difference equation. The American Mathematical Monthly, 32(7):354–370, 1925.
  • [5] F. T. Howard and Curtis Cooper. Some identities for rr-Fibonacci numbers. Fibonacci Quarterly, 49(3):231–242, August 2011.
  • [6] The OEIS Foundation Inc. Sum the k preceding elements in the same column and add 1 every time, Entry A172119 in the on-line encyclopedia of integer sequences, 2020.
  • [7] David Kessler and Jeremy Schiff. A combinatoric proof and generalization of Ferguson’s formula for kk-generalized Fibonacci numbers. Fibonacci Quarterly, 42(3):266–273, August 2004.
  • [8] Gwang-Yeon Lee, Sang-Gu Lee, Jin-Soo Kim, and Hang-Kyun Shin. The Binet formula and representations of kk-generalized Fibonacci numbers. Fibonacci Quarterly, 39(2):158–164, May 2001.
  • [9] Ernest P. Miles, Jr. Generalized Fibonacci numbers and associated matrices. The American Mathematical Monthly, 67(8):745–752, 1960.
  • [10] Randolph Nelson. A Brief Journey in Discrete Mathematics. Springer International Publishing, 2020.
  • [11] Richard P. Stanley. Enumerative Combinatorics, volume 1. Cambridge University Press, 2012.

MSC2020: 05A99, 11B39