Tribonacci Numbers
The tribonacci series is a generalization of the Fibonacci sequence where each term is the sum of the three preceding terms. a(n) = a(n-1) + a(n-2) + a(n-3) with a(0) = a(1) = 0, a(2) = 1. First few numbers in the Tribonacci Sequence are 0, 0, 1, 1, 2, 4, 7, 13, 24, 44, 81, 149, 274, 504, .... Given