TOPICS
Search

Tribonacci Sequence


The tribonacci sequence is a generalization of the Fibonacci numbers. It is defined by T_0=0, T_1=1, T_2=1, T_3=2, and the recurrence equation

 T_n=T_(n-1)+T_(n-2)+T_(n-3)
(1)

for integers n>=4 (e.g., Develin 2000), and represents the n=3 case of the Fibonacci n-step numbers. The terms of the tribonacci sequence are known as tribonacci numbers.

The first few terms using the above indexing convention for n=0, 1, 2, ... are 0, 1, 1, 2, 4, 7, 13, 24, 44, 81, 149, ... (OEIS A000073, whose term at index n+1 is T_n).

With T_k=0 for k<=0, the partial sum of the first m terms is

 sum_(k=1)^mT_k=(3T_m+2T_(m-1)+T_(m-2)-1)/2
(2)

for m>=1 (V. Ivlev, pers. comm., Jul. 14, 2007). This is the n=3 case of the partial sum identity for Fibonacci n-step numbers.

The first few prime tribonacci numbers are 2, 7, 13, 149, 19341322569415713958901, ... (OEIS A092836), which have indices 3, 5, 6, 10, 86, 97, 214, 801, 4201, 18698, 96878, ... (OEIS A092835), and no others with n<=291217 (E. W. Weisstein, Mar. 21, 2009). Noe and Post (2005, pp. 4-5 and 7) report primality proofs for the nine terms whose indices are at most 10000.

Using Brown's criterion, it can be shown that the tribonacci numbers are complete; that is, every positive integer can be written as the sum of distinct tribonacci numbers. More precisely, every positive integer has a unique expansion as a sum of terms T_i with distinct indices i>=2, with no three consecutive indices used (Carlitz et al. 1972). This analog of a Zeckendorf representation can be computed using a greedy algorithm.

An exact expression for T_n, for nonnegative integers n, is given by

T_n=(alpha^(n+1))/((alpha-beta)(alpha-gamma))+(beta^(n+1))/((beta-alpha)(beta-gamma))+(gamma^(n+1))/((gamma-alpha)(gamma-beta))
(3)
=(alpha^n)/(-alpha^2+4alpha-1)+(beta^n)/(-beta^2+4beta-1)+(gamma^n)/(-gamma^2+4gamma-1),
(4)

where (alpha,beta,gamma) are the three roots of the polynomial

 P(x)=x^3-x^2-x-1.
(5)

This can be written in slightly more concise form as

 T_n=r_1alpha^n+r_2beta^n+r_3gamma^n,
(6)

where r_1=1/(-alpha^2+4alpha-1), r_2=1/(-beta^2+4beta-1), and r_3=1/(-gamma^2+4gamma-1) (Komatsu and Li 2019, p. 29). These coefficients are the three roots of the polynomial

 Q(y)=44y^3-2y-1.
(7)

The generating function sum_(n=0)^(infty)T_nz^n is

 z/(1-z-z^2-z^3)=z+z^2+2z^3+4z^4+7z^5+13z^6+24z^7+44z^8+81z^9+149z^(10)+...
(8)

for |z|<1/t, where t is the tribonacci constant.

Another explicit formula for T_n is also given by

 [3({1/3(19+3sqrt(33))^(1/3)+1/3(19-3sqrt(33))^(1/3)+1/3}^n(586+102sqrt(33))^(1/3))/((586+102sqrt(33))^(2/3)+4-2(586+102sqrt(33))^(1/3))],
(9)

where [x] denotes the nearest integer function (Plouffe). The first part of the numerator is related to the real root of x^3-x^2-x-1, but determination of the denominator can use the LLL algorithm.

The ratio T_(n+1)/T_n tends to the positive real root (x^3-x^2-x-1)_1, namely 1.83928... (OEIS A058265), sometimes known as the tribonacci constant.

By considering the series T_n (mod k), one can prove that any positive integer k is a factor of T_n for some positive integer n (Brenner 1954). The smallest values of n for which k is a factor for k=1, 2, ... are given by 1, 3, 7, 4, 14, 7, 5, 7, 9, 19, 8, 7, 6, ... (OEIS A112305).

The tribonacci constant is extremely prominent in the properties of the snub cube, its dual the pentagonal icositetrahedron, and the snub cube-pentagonal icositetrahedron compound. It can even be used to express the hard hexagon entropy constant.

With different initial values, the tribonacci sequence starts as a, b, c, a+b+c, a+2b+2c, 2a+3b+4c, 4a+6b+7c, 7a+11b+13c, ..., which gives the following sequences as special cases.

abcOEISsequence
001A0000730, 0, 1, 1, 2, 4, 7, 13, 24, 44, 81, 149, ...
111A0002131, 1, 1, 3, 5, 9, 17, 31, 57, 105, 193, 355, ...
010A0015900, 1, 0, 1, 2, 3, 6, 11, 20, 37, 68, 125, 230, ...
313A0016443, 1, 3, 7, 11, 21, 39, 71, 131, 241, 443, 815, ...
-122A100683-1, 2, 2, 3, 7, 12, 22, 41, 75, 138, 254, 467, ...

See also

Brown's Criterion, Fibonacci n-Step Number, Fibonacci Number, Hard Hexagon Entropy Constant, Integer Sequence Primes, Pentagonal Icositetrahedron, Rauzy Fractal, Snub Cube-Pentagonal Icositetrahedron Compound, Tetranacci Number, Tribonacci Constant

Portions of this entry contributed by Tony Noe

Portions of this entry contributed by Tito Piezas III

Explore with Wolfram|Alpha

References

Brenner, J. L. "Linear Recurrence Relations." Amer. Math. Monthly 61, 171-173, 1954.Carlitz, L.; Scoville, R.; and Hoggatt, V. E. Jr. "Fibonacci Representations of Higher Order." Fib. Quart. 10, 43-69 and 94, 1972. https://fq.math.ca/Scanned/10-1/carlitz3-a.pdf.Develin, M. "A Complete Categorization of When Generalized Tribonacci Sequences Can Be Avoided by Additive Partitions." Elec. J. Combin. 7, R53, 2000. https://doi.org/10.37236/1531.Dumitriu, I. "On Generalized Tribonacci Sequences and Additive Partitions." Disc. Math. 219, 65-83, 2000.Feinberg, M. "Fibonacci-Tribonacci." Fib. Quart. 1, 71-74, 1963.Hoggatt, V. E. Jr. "Additive Partitions of the Positive Integers." Fib. Quart. 18, 220-226, 1980.Komatsu, T. and Li, R. "Convolution Identities for Tribonacci Numbers with Symmetric Formulae." Math. Rep. 21(71), 27-47, 2019. https://imar.ro/journals/Mathematical_Reports/Pdfs/2019/1/3.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.Plouffe, S. "The Tribonacci Constant." https://www.plouffe.fr/simon/constants/tribo.txt.Sloane, N. J. A. Sequences A000073/M1074, A000213/M2454, A001590/M0784, A001644/M2625, A058265, A092835, A092836, A100683, and A112305 in "The On-Line Encyclopedia of Integer Sequences."

Referenced on Wolfram|Alpha

Tribonacci Sequence

Cite this as:

Weisstein, Eric W., with contributions by Tony Noe and Tito Piezas III. "Tribonacci Sequence." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/TribonacciSequence.html

Subject classifications