TOPICS
Search

Fibonacci n-Step Number


A Fibonacci n-step number, for a positive integer n, is a term of the sequence {F_k^((n))}_(k=1)^infty defined by letting F_k^((n))=0 for k<=0, F_1^((n))=F_2^((n))=1, and defining the remaining terms by the linear recurrence equation

 F_k^((n))=sum_(i=1)^nF_(k-i)^((n))
(1)

for k>2.

For n>=2 and m>=1, the partial sum is

 sum_(k=1)^mF_k^((n))=(sum_(j=0)^(n-1)(n-j)F_(m-j)^((n))-1)/(n-1).
(2)

This identity follows by subtracting consecutive weighted sums and applying the recurrence equation.

For n>=2, Brown's criterion shows that the n-step Fibonacci numbers are complete; every positive integer can be written as a sum of distinct n-step Fibonacci numbers. As discussed by Fraenkel (1985), every positive integer has a unique Zeckendorf-like expansion using the terms F_2^((n)), F_3^((n)), ... and containing no n consecutive terms. The Zeckendorf-like expansion can be computed using a greedy algorithm.

The first few sequences of n-step Fibonacci numbers are summarized in the table below.

nOEISnamesequence
1degenerate1, 1, 1, 1, 1, 1, 1, 1,1, 1, 1, ...
2A000045Fibonacci number1, 1, 2, 3, 5, 8, 13, 21, 34, 55, ...
3A000073tribonacci number1, 1, 2, 4, 7, 13, 24, 44, 81, ...
4A000078tetranacci number1, 1, 2, 4, 8, 15, 29, 56, 108, ...
5A001591pentanacci number1, 1, 2, 4, 8, 16, 31, 61, 120, ...
6A001592hexanacci number1, 1, 2, 4, 8, 16, 32, 63, 125, ...
7A066178heptanacci number1, 1, 2, 4, 8, 16, 32, 64, 127, ...

For integers k>=1 and n>=0, the probability that no runs of k consecutive tails occur in n independent fair coin tosses is F_(n+2)^((k))/2^n, where F_l^((k)) is a Fibonacci k-step number.

For n>=2, the limit lim_(k->infty)F_k^((n))/F_(k-1)^((n)) is called the n-anacci constant and is given by solving

 x^n(2-x)=1,
(3)

or equivalently

 P(x)=x^n-x^(n-1)-x^(n-2)-...-x-1=0
(4)

for x and then taking the real root x>1. For even n, there are exactly two real roots, one greater than 1 and one less than 1, and for odd n, there is exactly one real root, which is always >=1.

For n>=2, the n-anacci constant c_n also has a geometric interpretation generalizing the golden ratio (Mustonen 2005). Divide a line segment of length 1 into n parts of lengths u_1, u_2, ..., u_n so that

 1/u_1=u_1/u_2=...=u_(n-1)/u_n=c_n.
(5)

Then u_j=c_n^(-j) and

 sum_(j=1)^nc_n^(-j)=1.
(6)

Multiplying by c_n^n gives the same polynomial equation for c_n as the limiting ratio of adjacent terms. For n=2, this is the usual golden ratio division, while n=3 and 4 give the tribonacci constant and tetranacci constant, respectively.

For n>=2 and k>=1, an exact formula for the kth n-anacci number F_k^((n)) is

 F_k^((n))=nint((r^(k-1)(r-1))/((n+1)r-2n)),
(7)

where r is the unique real root greater than 1 of P(x)=0, and nintx is the nearest integer function (Dresden and Du 2014, p. 3).

Another formula is given in terms of the n roots x_i of P(x). This has the general form

 F_k^((n))=sum_(i=1)^n(x_i^k)/(Q_n(x_i)),
(8)

where Q_n(x) is a polynomial in x, the first few of which are

Q_2(x)=2x-1
(9)
Q_3(x)=-x^2+4x-1
(10)
Q_4(x)=-x^3+6x-1
(11)
Q_5(x)=-x^4+x^2+8x-1.
(12)

When arranged as a number triangle corresponding to smallest coefficients first, this gives

 -1,2
-1,4,-1
-1,6,0,-1
-1,8,1,0,-1
-1,10,2,1,0,-1
-1,12,3,2,1,0,-1
(13)

(OEIS A118745) for n=2 to 7 with the pattern easily discernible for higher n.

If n=2, equation (3) reduces to

 x^2(2-x)=1
(14)
 x^3-2x^2+1=(x-1)(x^2-x-1)=0,
(15)

giving solutions

 x=1,1/2(1+/-sqrt(5)).
(16)

The ratio is therefore

 x=1/2(1+sqrt(5))=phi=1.618...,
(17)

which is the golden ratio, as expected.

FibonacciNStepLimits

The analytic solutions for n=1, 2, ... are given by

x_1=1
(18)
x_2=1/2(1+sqrt(5))
(19)
x_3=1/3[1+(19-3sqrt(33))^(1/3)+(19+3sqrt(33))^(1/3)]
(20)
=(x^3-x^2-x-1)_1
(21)
x_4=(x^4-x^3-x^2-x-1)_2
(22)

and numerically by 1, 1.61803 (OEIS A001622), 1.83929 (OEIS A058265; the tribonacci constant), 1.92756 (OEIS A086088; the tetranacci constant), 1.96595, ..., which approaches 2 as n->infty.


See also

Fibonacci Number, Golden Ratio, Heptanacci Number, Hexanacci Number, Lucas n-Step Number, Pentanacci Number, Tetranacci Constant, Tetranacci Number, Tribonacci Constant, Tribonacci Sequence, Zeckendorf Representation

Portions of this entry contributed by Tony Noe

Portions of this entry contributed by Tito Piezas III

Explore with Wolfram|Alpha

References

Dresden, G. P. B. and Du, Z. "A Simplified Binet Formula for k-Generalized Fibonacci Numbers." J. Integer Seq. 17, Article 14.4.7, 2014. https://cs.uwaterloo.ca/journals/JIS/VOL17/Dresden/dresden6.html.Fraenkel, A. S. "Systems of Numeration." Amer. Math. Monthly 92, 105-114, 1985.Mustonen, S. "Extension of Golden Section to Multiple-Partite Division of a Line Segment." Apr. 24, 2005. https://www.survo.fi/papers/nsection.pdf.Noe, T. D. and Post, J. V. "Primes in Fibonacci n-Step and Lucas n-Step Sequences." J. Integer Seq. 8, Article 05.4.4, 2005. https://cs.uwaterloo.ca/journals/JIS/VOL8/Noe/noe5.html.Sloane, N. J. A. Sequences A000045/M0692, A000073/M1074, A000078/M1108, A001591, A001592, A001622, A046698, A058265, A066178, A086088, and A118745 in "The On-Line Encyclopedia of Integer Sequences."

Referenced on Wolfram|Alpha

Fibonacci n-Step Number

Cite this as:

Weisstein, Eric W., with contributions by Tony Noe and Tito Piezas III. "Fibonacci n-Step Number." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/Fibonaccin-StepNumber.html

Subject classifications