The Tribonacci sequence is an extension of the Fibonacci sequence where each term is the sum of the previous three terms.
The Tribonacci sequence: 0, 0, 1, 1, 2, 4, 7, 13, 24, 44, 81, 149, 274, 504, 927, 1705,...........
So given a number, can we check if that number is Tribonacci number or not?
I tried but not able to find any formula, I know that Fibonacci number can be checked directly using a formula.
Small values can be checked directly.
For sufficiently large values (somewhere around $>200$ or so), $n$ is Tribonacci if and only if $a^m$ rounds to $n$ for some integer $m$, where $$a = \frac 13 \left(1 + \sqrt[3]{19 - 3 \sqrt{3}} + \sqrt[3]{19 + 3 \sqrt{3}}\right),$$ and this can be easily checked by taking logarithms.