The tetranacci numbers are a generalization of the Fibonacci numbers defined by
(1) |
for
The first few prime tetranacci numbers have indices 3, 7, 11, 12, 36, 56, 401, 2707, 8417, 14096, ... (Sloane's A104534), corresponding to 2, 29, 401, 773, 5350220959, ... (Sloane's A104535).
An exact expression for the nth tetranacci number for n > 1 can be given explicitly by
(2) |
where the three additional terms are obtained by cyclically permuting
(3) |
This can be written in slightly more concise form as
(4) |
where is the nth root of the polynomial
(5) |
and and are in the ordering of Mathematica's Root object.
The tetranacci numbers have the generating function
(6) |
The ratio of adjacent terms tends to the positive real root of P(x), namely 1.92756... (Sloane's A086088), which is sometimes known as the tetranacci constant.
Fibonacci n-Step Number, Fibonacci Number, Tetranacci Constant, Tribonacci Number
Sloane, N. J. A. Sequences A000078/M1108, A086088, A104534, and A104535 in "The On-Line Encyclopedia of Integer Sequences." http://www.research.att.com/~njas/sequences/.