TOPICS
Search

Tetranacci Number


The tetranacci numbers are a generalization of the Fibonacci numbers defined by T_0=0, T_1=1, T_2=1, T_3=2, and the recurrence relation

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

for integers n>=4. They represent the n=4 case of the Fibonacci n-step numbers. The first few terms for n=0, 1, ... are 0, 1, 1, 2, 4, 8, 15, 29, 56, 108, 208, ... (OEIS A000078, whose term at index n+2 is T_n).

The first few prime tetranacci numbers have indices 3, 7, 11, 12, 36, 56, 401, 2707, 8417, 14096, 31561, 50696, 53192, 155182, ... (OEIS A104534), corresponding to 2, 29, 401, 773, 5350220959, ... (OEIS A104535), with no others for n<=236965 (E. W. Weisstein, Mar. 21, 2009).

An exact expression for the nth tetranacci number for integers n>1 can be given explicitly by

 T_n=(2-(beta+gamma+delta)+(betagamma+gammadelta+deltabeta))/((alpha-beta)(alpha-gamma)(alpha-delta))alpha^n+...,
(2)

where the three additional terms are obtained by cyclically permuting (alpha,beta,gamma,delta), which are the four roots of the polynomial

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

Alternately,

 T_n=(alpha^n)/(-alpha^3+6alpha-1)+(beta^n)/(-beta^3+6beta-1)
 +(gamma^n)/(-gamma^3+6gamma-1)+(delta^n)/(-delta^3+6delta-1).
(4)

This can be written in slightly more concise form as

 T_n=r_1alpha^n+r_2beta^n+r_3gamma^n+r_4delta^n,
(5)

where r_1=1/(-alpha^3+6alpha-1), r_2=1/(-beta^3+6beta-1), r_3=1/(-gamma^3+6gamma-1), and r_4=1/(-delta^3+6delta-1). These coefficients are the four roots of the polynomial

 Q(y)=563y^4-20y^2-5y-1.
(6)

The tetranacci numbers have the generating function sum_(n=0)^(infty)T_nx^n

 x/(1-x-x^2-x^3-x^4)=x+x^2+2x^3+4x^4+8x^5+15x^6+...
(7)

for |x|<1/T, where T is the tetranacci constant.

The ratio T_(n+1)/T_n tends to the positive real root of P(x), namely 1.92756... (OEIS A086088), which is sometimes known as the tetranacci constant.


See also

Fibonacci n-Step Number, Fibonacci Number, Tetranacci Constant, Tribonacci Sequence

Explore with Wolfram|Alpha

References

Sloane, N. J. A. Sequences A000078/M1108, A086088, A104534, and A104535 in "The On-Line Encyclopedia of Integer Sequences."

Referenced on Wolfram|Alpha

Tetranacci Number

Cite this as:

Weisstein, Eric W. "Tetranacci Number." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/TetranacciNumber.html

Subject classifications