OFFSET
1,1
COMMENTS
The tribonacci constant, which is approximately 1.839, is described in A058265. The tribonacci constant is the only real solution to the characteristic equation (x^3 = x^2+x+1) for the tribonacci sequence. It describes the asymptotic growth of the tribonacci sequence.
The sequence doesn't contain three consecutive numbers. Also, the difference between two consecutive numbers is never more than 3.
EXAMPLE
T(5) = 4 and T(6) = 7. Therefore, T(6) - (tribonacci constant)*T(5) equals approximately -0.356 < 0. Thus, index 5 is in this sequence.
PROG
(PARI) T(n) = ([0, 1, 0; 0, 0, 1; 1, 1, 1]^n)[1, 3]; \\ A000073
t = (1/3)*(1+(19+3*sqrt(33))^(1/3)+(19-3*sqrt(33))^(1/3)); \\ A058265
isok(k) = T(k+1) < t*T(k); \\ Michel Marcus, Apr 06 2022
CROSSREFS
KEYWORD
nonn
AUTHOR
Tanya Khovanova and the MIT PRIMES STEP Senior group, Apr 01 2022
STATUS
approved