A Fibonacci -step
number, for a positive integer
, is a term of the sequence
defined by letting
for
,
,
and defining the remaining terms by the linear
recurrence equation
|
(1)
|
for .
For
and
,
the partial sum is
|
(2)
|
This identity follows by subtracting consecutive weighted sums and applying the recurrence equation.
For ,
Brown's criterion shows that the
-step Fibonacci numbers are complete;
every positive integer can be written as a sum
of distinct
-step
Fibonacci numbers. As discussed by Fraenkel (1985), every positive
integer has a unique Zeckendorf-like
expansion using the terms
,
, ... and containing no
consecutive terms. The Zeckendorf-like expansion can be computed
using a greedy algorithm.
The first few sequences of -step Fibonacci numbers are summarized in the table below.
| OEIS | name | sequence | |
| 1 | degenerate | 1, 1, 1, 1, 1, 1, 1, 1,1, 1, 1, ... | |
| 2 | A000045 | Fibonacci number | 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, ... |
| 3 | A000073 | tribonacci number | 1, 1, 2, 4, 7, 13, 24, 44, 81, ... |
| 4 | A000078 | tetranacci number | 1, 1, 2, 4, 8, 15, 29, 56, 108, ... |
| 5 | A001591 | pentanacci number | 1, 1, 2, 4, 8, 16, 31, 61, 120, ... |
| 6 | A001592 | hexanacci number | 1, 1, 2, 4, 8, 16, 32, 63, 125, ... |
| 7 | A066178 | heptanacci number | 1, 1, 2, 4, 8, 16, 32, 64, 127, ... |
For integers and
, the probability that
no runs of
consecutive tails occur in
independent fair coin tosses is
, where
is a Fibonacci
-step number.
For ,
the limit
is called the
-anacci
constant and is given by solving
|
(3)
|
or equivalently
|
(4)
|
for
and then taking the real root
.
For even
, there are exactly two real roots, one greater than 1 and
one less than 1, and for odd
, there is exactly one real
root, which is always
.
For ,
the
-anacci
constant
also has a geometric interpretation generalizing the golden
ratio (Mustonen 2005). Divide a line segment
of length 1 into
parts of lengths
,
, ...,
so that
|
(5)
|
Then
and
|
(6)
|
Multiplying by
gives the same polynomial equation for
as the limiting ratio of adjacent terms. For
, this is the usual golden ratio
division, while
and 4 give the tribonacci constant and tetranacci constant, respectively.
For
and
,
an exact formula for the
th
-anacci number
is
|
(7)
|
where
is the unique real root greater than 1 of
, and
is the nearest
integer function (Dresden and Du 2014, p. 3).
Another formula is given in terms of the roots
of
. This has the general form
|
(8)
|
where
is a polynomial in
, the first few of which are
|
(9)
| |||
|
(10)
| |||
|
(11)
| |||
|
(12)
|
When arranged as a number triangle corresponding to smallest coefficients first, this gives
|
(13)
|
(OEIS A118745) for to 7 with the pattern easily discernible for higher
.
If ,
equation (3) reduces to
|
(14)
|
|
(15)
|
giving solutions
|
(16)
|
The ratio is therefore
|
(17)
|
which is the golden ratio, as expected.
The analytic solutions for , 2, ... are given by
|
(18)
| |||
|
(19)
| |||
|
(20)
| |||
|
(21)
| |||
|
(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 .