Tribonacci Number Calculator

Find the Tribonacci number at any index by adding the three previous terms, with growth shown.

Math and PercentUpdated 2026-11-182 min read
Tribonacci Number Calculator
A whole number from 0 to 200.
Tribonacci number T(n)
...
Previous term...
Growth from previous...

What it does

The Tribonacci numbers extend the Fibonacci idea by adding three earlier terms instead of two. The sequence starts with 0, 0 and 1, and after that each value is the sum of the three immediately before it. The early terms are 1, 2, 4, 7, 13 and 24, so the growth is a little faster than the ordinary Fibonacci sequence.

The name is a simple analogy with Fibonacci, where two terms are added. These numbers appear in combinatorics as counts of certain tilings and binary strings with limited runs, and the ratio of consecutive terms tends to a constant near 1.839, the real root of x cubed minus x squared minus x minus one.

Computing a term is a matter of walking forward from the three seeds and keeping the last three values at each step. No division is involved, so the integers stay exact even at index 200, where the answer has dozens of digits.

This page reports T(n), the term before it and the ratio between them. The default index is chosen so the worked example is already on screen when the page opens.

The index limit is 200. That is well past the point where writing out the sequence by hand is useful, while keeping the printed result short enough to read in one line.

How to use

  1. Enter an index n from 0 to 200.
  2. Read T(n) from the main result box.
  3. Check the previous term and the growth ratio beside it.
  4. The page opens on index 10 to match the worked example.
  5. Try index 19 to confirm the value 19,513.
  6. Compare the growth with the Fibonacci sequence to see the faster rate.

Formula

T(0) = 0, T(1) = 0, T(2) = 1, and T(n) = T(n - 1) + T(n - 2) + T(n - 3) for n >= 3
n
The index in the sequence, starting at zero.
T(n)
The Tribonacci number at index n.
T(n - 1) ... T(n - 3)
The three preceding terms added to form the next one.

The characteristic polynomial is x cubed minus x squared minus x minus one. It has one real root near 1.839 and two complex roots with smaller size, which is why consecutive ratios settle to that real root. The first three terms must be supplied as seeds because the rule needs three earlier values.

Worked example

Example: T(10)

The page opens with index 10.

  1. Start from T(0) = 0, T(1) = 0 and T(2) = 1.
  2. Compute T(3) = 1 + 0 + 0 = 1.
  3. Compute T(4) = 1 + 1 + 0 = 2, then T(5) = 4.
  4. Continue: T(6) = 7, T(7) = 13, T(8) = 24.
  5. Compute T(9) = 24 + 13 + 7 = 44.
  6. Compute T(10) = 44 + 24 + 13 = 81.
  7. The tool reports 81, previous term 44, and growth 1.84x.

Reference table

Tribonacci numbers at small indices
nT(n)PreviousGrowth
00n/an/a
100n/a
210n/a
5422.00x
1081441.84x
1919513106091.84x

Limits

  • Indices above 200 are rejected to keep the output readable.
  • The growth ratio is rounded to two decimals.
  • The tool returns a single term, not the list of earlier terms.
  • Different seed values define a different sequence and are not covered here.

Common mistakes

  • Using only two previous terms, which gives the Fibonacci sequence.
  • Starting from 0, 1, 1 instead of 0, 0, 1.
  • Assuming the growth ratio equals the golden ratio.
  • Forgetting that the first three terms are seeds, not computed by the rule.
  • Rounding a term when computing the ratio by hand.

Try it yourself

Quick checks. Answers sit tucked under each question.

What is T(10)?

T(10) = 81, with T(9) = 44 before it.

What is T(19)?

T(19) = 19,513.

What is T(5)?

T(5) = T(4) + T(3) + T(2) = 2 + 1 + 1 = 4.

Questions

How does this differ from Fibonacci?

Fibonacci adds two prior terms, while Tribonacci adds three.

What is the limiting ratio?

It tends to about 1.839, the real root of x cubed minus x squared minus x minus one.

Why are the first three terms special?

A three term recurrence needs three starting values before it can produce anything.

Are large terms exact?

Yes. Only integer addition is used.

Where do these numbers appear?

In certain tilings, binary strings and recurrences with three step memory.

What is the largest index?

Two hundred, with a clear error for larger inputs.

Sources

How this page was checked. The formula above was matched against the cited sources, and the worked example was run through the tool on this page before publishing. If you spot an error, contact us so we can fix it and note the correction.