Generalizations of Fibonacci numbers

From HandWiki
Short description: Mathematical sequences

In mathematics, the Fibonacci numbers form a sequence defined recursively by:

Fn={0n=01n=1Fn−1+Fn−2n>1

That is, after two starting values, each number is the sum of the two preceding numbers.

The Fibonacci sequence has been studied extensively and generalized in many ways, for example, by starting with other numbers than 0 and 1, by adding more than two numbers to generate the next number, or by adding objects other than numbers.

Extension to negative integers

Using Fn−2=Fn−Fn−1, one can extend the Fibonacci numbers to negative integers. So we get:

... −8, 5, −3, 2, −1, 1, 0, 1, 1, 2, 3, 5, 8, ...

and F−n=(−1)n+1Fn. [1]

See also Negafibonacci coding.

Extension to all real or complex numbers

There are a number of possible generalizations of the Fibonacci numbers which include the real numbers (and sometimes the complex numbers) in their domain. These each involve the golden ratio φ, and are based on Binet's formula

Fn=φn−(−φ)−n5.

The analytic function

Fe⁡(x)=φx−φ−x5

has the property that Fe⁡(n)=Fn for even integers n.[2] Similarly, the analytic function:

Fo⁡(x)=φx+φ−x5

satisfies Fo⁡(n)=Fn for odd integers n.

Finally, putting these together, the analytic function

Fib⁡(x)=φx−cos⁡(xπ)φ−x5

satisfies Fib⁡(n)=Fn for all integers n.[3]

Since Fib⁡(z+2)=Fib⁡(z+1)+Fib⁡(z) for all complex numbers z, this function also provides an extension of the Fibonacci sequence to the entire complex plane. Hence we can calculate the generalized Fibonacci function of a complex variable, for example,

Fib⁡(3+4i)≈−5248.5−14195.9i

However, this extension is by no means unique. For example, either

Fib⁡(x)=φx−cos⁡(kxπ)φ−x5 or
Fib⁡(x)=φx−exp⁡(ikxπ)φ−x5

for any odd integer k is an extension of the Fibonacci number sequence to the entire complex plane, as is any linear combination of them for which the coefficients sum to 1.

Vector space

The term Fibonacci sequence is also applied more generally to any function g from the integers to a field for which g(n)=g(n−1)+g(n−2). These functions are precisely those of the form 1, so the Fibonacci sequences form a vector space with the functions F(n) and F(n−1) as a basis.

More generally, the range of g may be taken to be any abelian group (regarded as a Z-module). Then the Fibonacci sequences form a 2-dimensional Z-module in the same way.

Similar integer sequences

Fibonacci integer sequences

The 2-dimensional ℤ-module of Fibonacci integer sequences consists of all integer sequences satisfying g(n)=g(n−1)+g(n−2). Expressed in terms of two initial values we have:

g(n)=F(n)g(1)+F(n−1)g(0)=g(1)φn−(−φ)−n5+g(0)φn−1−(−φ)1−n5,

where φ is the golden ratio.

The ratio between two consecutive elements converges to the golden ratio, except in the case of the sequence which is constantly zero and the sequences where the ratio of the two first terms is (−φ)−1.

The sequence can be written in the form

aφn+b(−φ)−n,

in which a=0 if and only if b=0. In this form the simplest non-trivial example has a=b=1, which is the sequence of Lucas numbers:

Ln=φn+(−φ)−n.

We have L1=1 and L2=3. The properties include:

φn=(1+52)n=L(n)+F(n)52,L(n)=F(n−1)+F(n+1).

Every nontrivial Fibonacci integer sequence appears (possibly after a shift by a finite number of positions) as one of the rows of the Wythoff array. The Fibonacci sequence itself is the first row, and a shift of the Lucas sequence is the second row.[4]

See also Fibonacci integer sequences modulo n.

Lucas sequences

A different generalization of the Fibonacci sequence is the Lucas sequences of the kind defined as follows:

U(0)=0U(1)=1U(n+2)=PU(n+1)−QU(n),

where the normal Fibonacci sequence is the special case of P=1 and Q=−1. Another kind of Lucas sequence begins with V(0)=2, V(1)=P. Such sequences have applications in number theory and primality proving.

When Q=−1, this sequence is called P-Fibonacci sequence, for example, Pell sequence is also called 2-Fibonacci sequence.

The 3-Fibonacci sequence is

0, 1, 3, 10, 33, 109, 360, 1189, 3927, 12970, 42837, 141481, 467280, 1543321, 5097243, 16835050, 55602393, 183642229, 606529080, ... (sequence A006190 in the OEIS)

The 4-Fibonacci sequence is

0, 1, 4, 17, 72, 305, 1292, 5473, 23184, 98209, 416020, 1762289, 7465176, 31622993, 133957148, 567451585, 2403763488, ... (sequence A001076 in the OEIS)

The 5-Fibonacci sequence is

0, 1, 5, 26, 135, 701, 3640, 18901, 98145, 509626, 2646275, 13741001, 71351280, 370497401, 1923838285, 9989688826, ... (sequence A052918 in the OEIS)

The 6-Fibonacci sequence is

0, 1, 6, 37, 228, 1405, 8658, 53353, 328776, 2026009, 12484830, 76934989, 474094764, 2921503573, 18003116202, ... (sequence A005668 in the OEIS)

The k-Fibonacci constant is the ratio toward which adjacent k-Fibonacci numbers tend; it is also called the kth metallic mean, and it is the only positive root of x2−kx−1=0. For example, the case of k=1 is 1+52, or the golden ratio, and the case of k=2 is 1+2, or the silver ratio. Generally, the case of k is k+k2+42.[5]

Generally, U(n) can be called (P,−Q)-Fibonacci sequence, and V(n) can be called (P,−Q)-Lucas sequence.

The (1,2)-Fibonacci sequence is

0, 1, 1, 3, 5, 11, 21, 43, 85, 171, 341, 683, 1365, 2731, 5461, 10923, 21845, 43691, 87381, 174763, 349525, 699051, 1398101, 2796203, 5592405, 11184811, 22369621, 44739243, 89478485, ... (sequence A001045 in the OEIS)

The (1,3)-Fibonacci sequence is

1, 1, 4, 7, 19, 40, 97, 217, 508, 1159, 2683, 6160, 14209, 32689, 75316, 173383, 399331, 919480, 2117473, 4875913, 11228332, 25856071, 59541067, ... (sequence A006130 in the OEIS)

The (2,2)-Fibonacci sequence is

0, 1, 2, 6, 16, 44, 120, 328, 896, 2448, 6688, 18272, 49920, 136384, 372608, 1017984, 2781184, 7598336, 20759040, 56714752, ... (sequence A002605 in the OEIS)

The (3,3)-Fibonacci sequence is

0, 1, 3, 12, 45, 171, 648, 2457, 9315, 35316, 133893, 507627, 1924560, 7296561, 27663363, 104879772, 397629405, 1507527531, 5715470808, ... (sequence A030195 in the OEIS)

Fibonacci numbers of higher order

A Fibonacci sequence of order k, also termed k-nacci sequence, is an integer sequence in which each sequence element is the sum of the previous k elements (with the exception of the first k elements in the sequence). The usual Fibonacci numbers are a Fibonacci sequence of order 2. The number of compositions of nonnegative integers into parts that are at most k is a Fibonacci sequence of order k. The sequence of the number of strings of 0s and 1s of length m that contain at most k consecutive 0s is also a Fibonacci sequence of order k.

These sequences, their limiting ratios, and the limit of these limiting ratios, were investigated by Mark Barr in 1913. [6]: 101 

Tribonacci numbers

A variation of the Fibonacci number sequence is the tribonacci number sequence, where each number is the sum of the three preceding numbers. Starting with the initial values T0=T1=0, and T2=1, the recurrence Tn=Tn−1+Tn−2+Tn−3,(1) gives this sequence of numbers as 0,0,1,1,2,4,7,13,24,44,81,149,274,504,927,1705,3136,5768,10609,19513,35890,66012,…. Further terms can be found under sequence number A000073 in The On-Line Encyclopedia of Integer Sequences (OEIS).

The tribonacci sequence has a long and interesting history.[7] The most notable historical occurrence of the sequence is connected to Charles Darwin (1809–1882) and his seminal book On the Origin of Species, where the procreation and population growth of elephants is considered as an illustrative example.[8] In 1892, the sequence of numbers appeared in the solution of a recreational problem, concerning a farmer and the raising of sheep, that was posed by the American mathematician Artemas Martin (1835–1918).[9]: 107–108  The first mathematical treatment of the tribonacci sequence and an investigation of its properties was done in 1914 and is due to Agronomof.[10] The moniker tribonacci appeared much later, not until 1963, and is due to Mark Feinberg, at the time a fourteen-year-old high-school student, who introduced the term in an article in the Fibonacci Quarterly.[11]

Agronomof's identity. Agronomof's 1914 note is a small gem that was ignored, made no impact at the time, and gathered dust for over half a century.[7]: 709-710  Although a very brief note (the modern day replica easily fits on a single page[7]: 719 ), it contains the powerful identity Tn+k=Tk+1Tn+1+(Tk+Tk−1)Tn+TkTn−1.(2) Note that Agronomof's identity is symmetric in n and k, and that, for k=2, one recovers the original tribonacci recurrence. Agronomof made his derivation under the assumption that both parameters n and k are nonnegative integers. However, one can show that the identity is more general and actually holds for arbitrary integers n and k by extending the defining recurrence (1) to include tribonacci numbers with negative indices.[7]: 712  Agronomof ends his note by showcasing the following propriétés remarquables of the tribonacci numbers, T2n=Tn+12+2TnTn−1+Tn2andT2n−1=Tn−12+2TnTn+1−Tn2.(3) These are easily derived from his identity by taking k=n and k=n−1. In turn, these two identities can be leveraged to derive a simple expression for the sum of squares of the tribonacci numbers.[7]: Eqn. (9) 

Reflection formula. As with the Fibonacci numbers, one can run the recurrence for the tribonacci numbers backwards. From T2,T1, and T0, one can determine T−1=1. From T1,T0, and T−1, one can determine T−2=−1, and so on. Thus, the values for the tribonacci numbers at negative indices are well defined. Starting with T0=0, T−1=1, and T−2=−1, and reversing the tribonacci recurrence (1), gives the sequence of negatively indexed tribonacci numbers as 0,1,−1,0,2,−3,1,4,−8,5,7,−20,18,9,−47,56,0,−103,159,−56,−206,421,−271,−356,1048,…. Further terms can be found under sequence number A057597 in The On-Line Encyclopedia of Integer Sequences (OEIS). The extension to negative indices means that one can view the tribonacci sequence as a double infinite sequence: …,−47,9,18,−20,7,5,−8,4,1,−3,2,0,−1,1,𝟎,0,1,1,2,4,7,13,24,44,81,149,274,504,927,… where the value at index zero is given in bold. Traversing the sequence from left to right, one uses recurrence (1). Traversing the sequence from right to left, one uses the recurrence Tn=Tn+3−Tn+2−Tn+1. The relationship between the negative and positive indexed segments of the tribonacci sequence is given by T−n=Tn+12−TnTn+2.(4) This identity holds for all integers n, and is known as the reflection formula for the tribonacci numbers. It can be derived using Agronomof's identity.[7]: 714 

τ = ⁠a+b+c/a⁠ = ⁠a/b⁠ = ⁠b/c⁠. With b = 1 the boxes have volumes τ3 = τ2 (red) + τ (green) + 1 (blue).

The tribonacci constant is the limit ratio between consecutive tribonacci numbers. It is commonly denoted τ and is particularly important in the study of the snub cube.

Three quantities a > b > c > 0 are in the tribonacci ratio if a+b+ca=ab=bc=τ

Substituting b=τc and a=τb=τ2c in the first fraction gives τ=c(τ2+τ+1)τ2c. It follows that the tribonacci constant is the unique real solution of the cubic equation τ3=τ2+τ+1, approximately 1.839286755214161... (sequence A058265 in the OEIS).

Closed-form expressions for τ are found by solving the depressed cubic y3−43y−3827, which has real zero τ−13.[12] τ=13(1+19+3333+19−3333)=13(1+4cosh⁡(13arcosh⁡(198))).

The iteration x←12+x3 with fixed point 1τ−1 results in the continued radical τ=1+1/12+12+12+⋯333 Since the iteration derives from 2x3=2x+1,[13] alternative expressions for τ are w1,2=(1±13113)/4τ=1+(w13+w23)−1=1+32sech⁡(13arcosh⁡(334)).

The tribonacci constant can be written in terms of itself as fractions τ=τ2+1τ2−1τ2=τ+1τ−1τ3=τ4+12.

Rectangles with aspect ratios ⁠1/τ−1⁠, τ, ⁠τ/τ−1⁠ tile the square.

Similarly as the infinite geometric series τ2+12=∑n=0∞τ−nτ+12=∑n=0∞τ−2n1τ−1=∑n=0∞τ−3n.

For every integer n one has τn=τn−1+τn−2+τn−3=2τn−2+2τn−3+τn−4=3τn−2+τn−4+τn−6 from this an infinite number of further relations can be found. A notable example is τ+τ−3=2.

Continued fraction pattern of a few low powers [14] τ−1=[0;1,1,5,4,2,305,1,8,2,...]≈0.5437(3157)τ0=[1]τ1=[1;1,5,4,2,305,1,8,2,1,...]≈1.8393(10356)τ2=[3;2,1,1,1,1,2,1,152,2,...]≈3.3830(15947)τ3=[6;4,2,305,1,8,2,1,4,6,...]≈6.2223(569)τ4=[11;2,4,152,1,17,1,2,2,...]≈11.4445(1039)

Let τ and complex conjugate pair β and γ be the zeros of polynomial x3−x2−x−1 with discriminant −44, the tribonacci numbers are then given by the Binet formula Tn+1=aτn+bβn+cγn, with real a and conjugates b and c the roots of 44y3−2y−1=0.

Since |bβn+cγn|<25, the number Tn is the nearest integer to aτn−1, with n>0 and coefficient a=τ2/(τ3+τ+2)= 0.336228116994941... [lower-alpha 1]

Powers of the tribonacci constant can be written with tribonacci numbers as quadratic coefficients τn=τ2Tn+τ(Tn−1+Tn−2)+Tn−1, which is proved by mathematical induction on n. This relation also holds for n<0.

The tribonacci numbers are obtained as integral powers n≥2 of a matrix with real eigenvalue τ [15] Q=(111100010),

Qn=(Tn+2Tn+1+TnTn+1Tn+1Tn+Tn−1TnTnTn−1+Tn−2Tn−1)

The trace of Qn gives the tribonacci-Lucas numbers 3, 1, 3, 7, 11, 21, 39, 71, 131, 241, 443, 815, 1499, 2757,... satisfying the same recurrence relation. Variously, Ln=⌊τn⌉ for n≥4. (sequence A001644 in the OEIS)

These Lucas numbers have the Fermat property: if p is prime, Lp≡L1modp. The converse does not hold, but the small number of tribonacci pseudoprimes n∣(Ln−1) makes the sequence special. The only composite numbers below 107 to pass the test are n = 182, 25201, 54289, 63618, 194390, 750890, 804055, 1889041, 2487941, 3542533, 3761251, 6829689. (sequence A371805 in the OEIS)

Construction of the tribonacci constant with compass and marked ruler. BC = τ − 1 and BD = ⁠1/τ⁠.

Further properties. The first implied mention of the tribonacci constant was in the eleventh century, when the Persian poet and polymath Omar Khayyam found the solution 10τ+1τ of the cubic x3+200x=20x2+2000 by considering the intersection of a circle and a rectangular hyperbola.[16]

W11(x)=x3−2x2+2x−2, with real zero ω=τ+1τ=τ(τ−1), is the Weber class polynomial associated with discriminant Δ=−11. Properties of the related Klein j-invariant result in near-identity ω≈(eπ−Δ+24)1/24.

Argument θ=arccos⁡(12τ) satisfies 4sin⁡(3θ)−tan⁡(θ)=11, a result which is related through distance parameter z=τ(1−τ)⋅2cos⁡(2π11) to the 'miraculous' neusis construction of the hendecagon, found by Benjamin and Snyder.[17][18]

The reciprocal 1τ of the tribonacci constant solves the equation 2arctan⁡(x)=arccos⁡(x).[19] The angle is close to 1 radian. Its complement arccos⁡(τ−1)=arcsin⁡(1τ) figures in the geometric construction of the tribonacci constant found by biologist Xerardo Neira.[20]

Tetranacci numbers

The tetranacci numbers start with four predetermined terms, each term afterwards being the sum of the preceding four terms. The first few tetranacci numbers are:

0, 0, 0, 1, 1, 2, 4, 8, 15, 29, 56, 108, 208, 401, 773, 1490, 2872, 5536, 10671, 20569, 39648, 76424, 147312, 283953, 547337, … (sequence A000078 in the OEIS)

Feinberg also coined the term tetranacci.[11]: 73 

The tetranacci constant is the ratio toward which adjacent tetranacci numbers tend. It is the unique positive real root of the polynomial x4−x3−x2−x−1=0, approximately 1.927561975482925... (sequence A086088 in the OEIS), and also satisfies the equation x+x−4=2.

The tetranacci constant can be expressed in terms of radicals by the following expression: [21]

x=14(1+u+11−u+26u)

where,

u=13(11−562−65+316893+2⋅223−65+316893)

and u is the real root of the cubic equation u3−11u2+115u−169.

Corresponding to the Lucas numbers for the Fibonacci sequence, if one instead starts with L0=4, L1=1, L2=3, and L3=7 and applies the tetranacci recursion then Ln=⌊xn⌉ for n≥6 (sequence A073817 in the OEIS)

Pentanacci numbers

0, 0, 0, 0, 1, 1, 2, 4, 8, 16, 31, 61, 120, 236, 464, 912, 1793, 3525, 6930, 13624, … (sequence A001591 in the OEIS)

The pentanacci constant is the ratio toward which adjacent pentanacci numbers tend. It is the unique real root of the polynomial x5−x4−x3−x2−x−1=0, approximately 1.965948236645485... (sequence A103814 in the OEIS), and also satisfies the equation x+x−5=2.

Hexanacci numbers

0, 0, 0, 0, 0, 1, 1, 2, 4, 8, 16, 32, 63, 125, 248, 492, 976, 1936, 3840, 7617, 15109, … (sequence A001592 in the OEIS)

The hexanacci constant is the ratio toward which adjacent hexanacci numbers tend. It is the unique positive real root of the polynomial x6−x5−x4−x3−x2−x−1=0, approximately 1.983582843424326... (sequence A118427 in the OEIS), and also satisfies the equation x+x−6=2.

Heptanacci numbers

0, 0, 0, 0, 0, 0, 1, 1, 2, 4, 8, 16, 32, 64, 127, 253, 504, 1004, 2000, 3984, 7936, 15808, … (sequence A122189 in the OEIS)

The heptanacci constant is the ratio toward which adjacent heptanacci numbers tend. It is the unique real root of the polynomial x7−x6−x5−x4−x3−x2−x−1=0, approximately 1.991964196605035... (sequence A118428 in the OEIS), and also satisfies the equation x+x−7=2.

Octanacci numbers

0, 0, 0, 0, 0, 0, 0, 1, 1, 2, 4, 8, 16, 32, 64, 128, 255, 509, 1016, 2028, 4048, 8080, 16128, ... (sequence A079262 in the OEIS)

Enneanacci numbers

0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 2, 4, 8, 16, 32, 64, 128, 256, 511, 1021, 2040, 4076, 8144, 16272, ... (sequence A104144 in the OEIS)

Infinacci numbers

An "infinacci" sequence, if one could be described, would, after an infinite number of zeroes, yield the sequence

[..., 0, 0, 1,] 1, 2, 4, 8, 16, 32, …

which are simply the powers of two.

k-nacci numbers

The limit of the ratio of successive terms of an k-nacci series tends to a root of the equation x+x−k=2 (OEIS: A103814, OEIS: A118427, OEIS: A118428).

The limit of the ratio for any k≥2 is the unique positive root of the characteristic equation[21]

xk−∑i=0k−1xi=0.

The special case k=2 is the traditional Fibonacci series yielding the golden section φ=1+1φ.

The above formulas for the ratio hold even for k-nacci series generated from arbitrary starting numbers. The ratio approaches 2 in the limit that k increases to infinity.

The root x is in the interval 2(1−2−k)<x<2. The negative root of the characteristic equation is in the interval (−1, 0) when k is even. This root and each complex root of the characteristic equation has modulus 3−k<.[21]

A series for the positive root x for any k>0 is[21]

2−2∑i>01i((k+1)i−2i−1)12(k+1)i.

There is no solution of the characteristic equation in terms of radicals when 5 ≤ k ≤ 11.[21]

The nth element of the k-nacci sequence is given by

Fn(k)=⌊xn−1(x−1)(k+1)x−2k⌉,

where ⌊⋅⌉ denotes the nearest integer function and x is the k-nacci constant, which is the root of x+x−k=2 nearest to 2.

Corresponding to the Lucas numbers for the Fibonacci sequence, if one instead starts with L0=k and Ln=2n−1 for 0<n<k, and applies the k-nacci recursion to compute Ln for n≥k then Ln=⌊xn⌉ for all large enough values of n, where x is the k-nacci constant. Equivalently, one could start with L0=k and Ln=−1 for −k<n<0, and then apply the k-nacci recursion to compute Ln for n>0.

A coin-tossing problem is related to the k-nacci sequence. The probability that no k consecutive tails will occur in m tosses of an idealized coin is 12mFm+2(k).[22]

Fibonacci word

In analogy to its numerical counterpart, the Fibonacci word is defined by:

Fn:=F(n):={bn=0;an=1;F(n−1)+F(n−2)n>1.

where + denotes the concatenation of two strings. The sequence of Fibonacci strings starts:

… (sequence A106750 in the OEIS)

The length of each Fibonacci string is a Fibonacci number, and similarly there exists a corresponding Fibonacci string for each Fibonacci number.

Fibonacci strings appear as inputs for the worst case in some computer algorithms.

If "a" and "b" represent two different materials or atomic bond lengths, the structure corresponding to a Fibonacci string is a Fibonacci quasicrystal, an aperiodic quasicrystal structure with unusual spectral properties.

Convolved Fibonacci sequences

A convolved Fibonacci sequence is obtained applying a convolution operation to the Fibonacci sequence one or more times. Specifically, define [23]

Fn(0)=Fn

and

Fn(k)=∑i=0nFiFn−i(k−1)

The first few sequences are

k=1: 0, 0, 1, 2, 5, 10, 20, 38, 71, … (sequence A001629 in the OEIS).
k=2: 0, 0, 0, 1, 3, 9, 22, 51, 111, … (sequence A001628 in the OEIS).
k=3: 0, 0, 0, 0, 1, 4, 14, 40, 105, … (sequence A001872 in the OEIS).

The sequences can be calculated using the recurrence

Fn+1(k)=Fn(k)+Fn−1(k)+Fn(k−1)

The generating function of the kth convolution is

s(k)(x)=∑n=0∞Fn(k)xn=(x1−x−x2)k.

The sequences are related to the sequence of Fibonacci polynomials by the relation

Fn(k)=k!Fn(k)(1)

where Fn(k)(x) is the kth derivative of Fn(x). Equivalently, Fn(k) is the coefficient of (x−1)k when F(k)(x) is expanded in powers of (x−1).

The first convolution, Fn(1) can be written in terms of the Fibonacci and Lucas numbers as

Fn(1)=nLn−Fn5

and follows the recurrence

Fn+1(1)=2Fn(1)+Fn−1(1)−2Fn−2(1)−Fn−3(1).

Similar expressions can be found for k>1 with increasing complexity as k increases. The numbers Fn(1) are the row sums of Hosoya's triangle.

As with Fibonacci numbers, there are several combinatorial interpretations of these sequences. For example Fn(1) is the number of ways n−2 can be written as an ordered sum involving only 0, 1, and 2 with 0 used exactly once. In particular F4(1)=5 and 2 can be written 0 + 1 + 1, 0 + 2, 1 + 0 + 1, 1 + 1 + 0, 2 + 0.[24]

Other generalizations

The Fibonacci polynomials are another generalization of Fibonacci numbers.

The Padovan sequence is generated by the recurrence P(n)=P(n−2)+P(n−3).

The Narayana's cows sequence is generated by the recurrence N(n)=N(n−1)+N(n−3).

A random Fibonacci sequence can be defined by tossing a coin for each position n of the sequence and taking F(n)=F(n−1)+F(n−2) if it lands heads and F(n)=F(n−1)−F(n−2) if it lands tails. Work by Furstenberg and Kesten guarantees that this sequence almost surely grows exponentially at a constant rate: the constant is independent of the coin tosses and was computed in 1999 by Divakar Viswanath. It is now known as Viswanath's constant.

A repfigit, or Keith number, is an integer such that, when its digits start a Fibonacci sequence with that number of digits, the original number is eventually reached. An example is 47, because the Fibonacci sequence starting with 4 and 7 (4, 7, 11, 18, 29, 47) reaches 47. A repfigit can be a tribonacci sequence if there are 3 digits in the number, a tetranacci number if the number has four digits, etc. The first few repfigits are:

14, 19, 28, 47, 61, 75, 197, 742, 1104, 1537, 2208, 2580, 3684, 4788, 7385, 7647, 7909, … (sequence A007629 in the OEIS)

Since the set of sequences satisfying the relation S(n)=S(n−1)+S(n−2) is closed under termwise addition and under termwise multiplication by a constant, it can be viewed as a vector space. Any such sequence is uniquely determined by a choice of two elements, so the vector space is two-dimensional. If we abbreviate such a sequence as (S(0),S(1)), the Fibonacci sequence F(n)=(0,1) and the shifted Fibonacci sequence F(n−1)=(1,0) are seen to form a canonical basis for this space, yielding the identity:

S(n)=S(0)F(n−1)+S(1)F(n)

for all such sequences S. For example, if S is the Lucas sequence 2, 1, 3, 4, 7, 11, ..., then we obtain

L(n)=2F(n−1)+F(n).

k-generated Fibonacci sequence

Given an integer k≥2 , the k-generalized Fibonacci sequence {Fn(k)}n∈ℤ is defined by the recurrence relation

Fn(k)=Fn−1(k)+Fn−2(k)+⋯+Fn−k(k),for all n≥2,

with initial values F2−k(k)=⋯=F−1(k)=F0(k)=0 and F1(k)=1.[25]

Sequence N OEIS sequence
Fibonacci sequence 6 A000045
Pell sequence 12 A000129
Jacobsthal sequence 18 A001045
Narayana's cows sequence 10 A000930
Padovan sequence 15 A000931
Third-order Pell sequence 20 A008998
Tribonacci sequence 30 A000073
Tetranacci sequence 210 A000288

Semi-Fibonacci sequence

The semi-Fibonacci sequence (sequence A030067 in the OEIS) is defined via the same recursion for odd-indexed terms a(2n+1)=a(2n)+a(2n−1) and a(1)=1, but for even indices a(2n)=a(n), n≥1. The bisection A030068 of odd-indexed terms s(n)=a(2n−1) therefore verifies s(n+1)=s(n)+a(n) and is strictly increasing. It yields the set of the semi-Fibonacci numbers

1, 2, 3, 5, 6, 9, 11, 16, 17, 23, 26, 35, 37, 48, 53, 69, 70, 87, 93, 116, 119, 145, 154, ... (sequence A030068 in the OEIS)

which occur as s(n)=a(2k(2n−1)),k=0,1,….

Notes

  1. ↑ Constant 𝑎 comes from Simon Plouffe's 1992 formula, its minimal polynomial can be found with an integer relation algorithm.

References

  1. ↑ Triana, Juan (2019). "Negafibonacci numbers via matrices". Bulletin of TICMI 23 (1): 19–24. http://www.viam.science.tsu.ge/others/ticmi/blt/vol23_1/3_triana.pdf. 
  2. ↑ "What is a Fibonacci Number? -- from Harry J. Smith". 2009-10-27. http://geocities.com/hjsmithh/Fibonacc/FibWhat.html. 
  3. ↑ Pravin Chandra and Eric W. Weisstein. "Fibonacci Number". http://mathworld.wolfram.com/FibonacciNumber.html. 
  4. ↑ Morrison, D. R. (1980), "A Stolarsky array of Wythoff pairs", A Collection of Manuscripts Related to the Fibonacci Sequence, Santa Clara, CA: The Fibonacci Association, pp. 134–136, http://www.math.ucsb.edu/~drm/papers/stolarsky.pdf, retrieved 2012-07-15 .
  5. ↑ Panwar, Yashwant K.; Rathore, G. P. S.; Chawla, Richa (2014-01-23). "On the k-Fibonacci-Like Numbers" (in en). Turkish Journal of Analysis and Number Theory 2 (1): 9–12. doi:10.12691/tjant-2-1-3. ISSN 2333-1100. http://pubs.sciepub.com/tjant/2/1/3/abstract.html. 
  6. ↑ Gardner, Martin (1961). The 2nd Scientific American Book of Mathematical Puzzles & Diversions. New York: Simon and Schuster. 
  7. ↑ 7.0 7.1 7.2 7.3 7.4 7.5 Tuenter, Hans J. H. (October 2023). "In Search of Comrade Agronomof: Some Tribonacci History". The American Mathematical Monthly 130 (8): 708–719. doi:10.1080/00029890.2023.2231796. 
  8. ↑ Podani, János; Kun, Ádám; Szilágyi, András (2018). "How Fast Does Darwin's Elephant Population Grow?". Journal of the History of Biology 51 (2): 259–281. doi:10.1007/s10739-017-9488-5. PMID 28726021. http://real.mtak.hu/72652/1/Podani_etal_DarwinElephants.pdf. 
  9. ↑ Miller, W. J. C., ed (1892). Mathematical Questions and Solutions from the "Educational Times". 57. London: Francis Hodgson. 
  10. ↑ Agronomof, M. (1914). "Sur une suite récurrente". Mathesis 4: 125–126. 
  11. ↑ 11.0 11.1 Feinberg, Mark (October 1963). "Fibonacci-Tribonacci.". Fibonacci Quarterly 1 (3): 71–74. doi:10.1080/00150517.1963.12431573. https://www.fq.math.ca/Scanned/1-3/feinberg.pdf. 
  12. ↑ Wolfdieter Lang, (sequence A058265 in the OEIS)
  13. ↑ (sequence A316711 in the OEIS) − 1
  14. ↑ For τ (sequence A019712 in the OEIS)
  15. ↑ Sloane, N. J. A., ed. "Sequence A000073". OEIS Foundation. https://oeis.org/A000073. 
  16. ↑ Lang, Wolfdieter (2015). "A geometrical problem of Omar Khayyám and its cubic". https://oeis.org/A256099/a256099_1.pdf. 
  17. ↑ Lanzi, Oscar (Jun 11, 2019). "Trig identities analogous to tan(pi/5) + 4sin(pi/5) = sqrt(5 + 2sqrt(5))". https://math.stackexchange.com/q/3258069. 
  18. ↑ Benjamin, Elliot; Snyder, Chip (May 2014). "On the construction of the regular hendecagon by marked ruler and compass". Mathematical Proceedings of the Cambridge Philosophical Society 156 (3): 409-424. doi:10.1017/S0305004113000753. https://www.researchgate.net/publication/262991453_On_the_construction_of_the_regular_hendecagon_by_marked_ruler_and_compass. 
  19. ↑ Chema, Peter M. (2017). "Tribonacci constant as ratio of square to rhombus projection". https://oeis.org/A058265/a058265_2.pdf. 
  20. ↑ Neira, Xerardo (Dec 12, 2020). "A geometric construction of the tribonacci constant with marked ruler and compass". https://oeis.org/A058265/a058265_3.pdf. 
  21. ↑ 21.0 21.1 21.2 21.3 21.4 Wolfram, D. A. (May 1998). "Solving Generalized Fibonacci Recurrences". Fibonacci Quarterly 36 (2): 129–145. doi:10.1080/00150517.1998.12428948. http://www.fq.math.ca/Scanned/36-2/wolfram.pdf. 
  22. ↑ Eric W. Weisstein. "Coin Tossing". http://mathworld.wolfram.com/CoinTossing.html. 
  23. ↑ Hoggatt, Jr., V. E.; Bicknell-Johnson, Marjorie (April 1977). "Fibonacci Convolution Sequences". Fibonacci Quarterly 15 (2): 117–122. doi:10.1080/00150517.1977.12430465. http://www.fq.math.ca/Scanned/15-2/hoggatt1.pdf. 
  24. ↑ Sloane, N. J. A., ed. "Sequence A001629". OEIS Foundation. https://oeis.org/A001629. 
  25. ↑ Batte, Herbert; Luca, Florian (2026-06-10). "k-generalized Fibonacci numbers that are palindromic concatenations of two distinct repdigits" (in en). Arabian Journal of Mathematics. doi:10.1007/s40065-026-00644-1. ISSN 2193-5351. https://doi.org/10.1007/s40065-026-00644-1.