本文へスキップ
Number Buffet

トリボナッチ数

記憶がもう少し長いフィボナッチ。各項が直前の三項の和になり、0, 1, 1, 2, 4, 7, 13, 24 となります。

OEIS A000073 · 読了 3 分

設定

クイックプリセット

Terms are produced in order starting from the chosen index.

Index 0 is the first seed value of whichever variant you pick.

Indexing conventions differ between references — see the notes below the output.

Group long terms as 1,132,436,852 for readability.

見た目を微調整

まず画像の横にあるプリセットを選んでください。ここで細かく調整します。

Frame

A border drawn inside the edge of the image.

詳細設定

結果

20 件の値

0, 1, 1, 2, 4, 7, 13, 24, 44, 81, 149, 274, 504, 927, 1705, 3136, 5768, 10609, 19513, 35890


画像を作成

これらの数字を装飾して画像としてダウンロードするには JavaScript を有効にしてください。値そのものは上に一覧表示されています。

Text on the image

Drag a line straight onto the picture to place it — once placed, it stays exactly where you put it. Everything here is drawn into the download.

以下の解説記事はまだ翻訳されておらず、英語で表示されます。

トリボナッチ数について

Tribonacci numbers answer an obvious follow-up question: what if each term sums the three before it rather than the two? The underlying mathematics is old. Linear recurrences with constant coefficients were well understood by the eighteenth century, when Abraham de Moivre developed generating-function techniques for them and Daniel Bernoulli showed that the ratio of consecutive terms of such a sequence converges to the largest root of its characteristic equation — the general fact that makes every sequence of this shape grow geometrically.

The name, though, is recent, and its author is unexpected. "Tribonacci" was coined in 1963 by Mark Feinberg, then a fourteen-year-old high-school student in Philadelphia, in a short article for the first volume of The Fibonacci Quarterly. The journal had only just been founded, by Verner E. Hoggatt Jr. of San Jose State College and Brother Alfred Brousseau of St Mary's College, who also set up the Fibonacci Association that year and were glad to print work by schoolchildren. Feinberg tabulated the sequence and computed the limiting ratio of successive terms, 1.839…, now called the tribonacci constant.

That constant is where the real interest lies. It is the unique real root of x³ = x² + x + 1, an algebraic number of degree three. Its two complex conjugates have modulus roughly 0.737 — comfortably less than one, which makes it a Pisot number and explains why the terms lock into near-perfect geometric growth after only a handful of steps. Unlike the golden ratio it has no expression in square roots alone, but it does have a closed form in cube roots. It also shows up in solid geometry, in the coordinates of the snub cube, and at the centre of a self-similar tiling: Gérard Rauzy's 1982 study of the substitution a→ab, b→ac, c→a produced the figure now known as the Rauzy fractal.

主な性質

  • T(0) = 0, T(1) = T(2) = 1, and T(n) = T(n−1) + T(n−2) + T(n−3) for n ≥ 3.
  • The ratio of consecutive terms converges to the tribonacci constant ≈ 1.8392867552141612, the real root of x³ = x² + x + 1.
  • That constant has the closed form (1 + ∛(19 + 3√33) + ∛(19 − 3√33)) / 3, and satisfies the tidy identity t + t⁻³ = 2 exactly.
  • Its two other (complex) roots have modulus 1/√t ≈ 0.7374, below 1, so the constant is a Pisot number.
  • T(n) is even exactly when n ≡ 0 or 3 (mod 4): the parity pattern repeats with period four.
  • T(0) + T(1) + … + T(n) = (T(n+2) + T(n) − 1) / 2, so any partial sum is available in one step.
  • T(n+1) counts the ordered ways to write n as a sum of 1s, 2s and 3s: n = 4 has T(5) = 7 such sums.
  • T(63) = 15,832,480,722,303,616 is the first term above 2⁵³ − 1, so this page computes with arbitrary-precision integers.

登場する場面

  • The staircase problem — how many ways to climb n steps taking 1, 2 or 3 at a time — is exactly this sequence, which is why it is a fixture of dynamic-programming courses and coding interviews.
  • The number of binary strings of length n containing no run of three consecutive 1s is T(n+2), a constraint that shows up in run-length-limited channel coding.
  • The tribonacci constant governs the geometry of the snub cube, one of the thirteen Archimedean solids: its vertex coordinates are built from that root.
  • The tribonacci substitution a→ab, b→ac, c→a generates the tribonacci word and the Rauzy fractal, objects used in symbolic dynamics and in the study of aperiodic order and quasicrystals.
  • Tribonacci is the k = 3 case of the k-step Fibonacci family; as k grows the limiting ratio climbs from φ ≈ 1.618 towards 2, which is why doubling sequences are the limit of this construction.

このジェネレーターの使い方

生成された値は上部に表示され、横にコピーボタンがあります。画像にするには 画像を作成 のスタイルから見た目を選び、書き出しサイズを指定して PNG・JPEG・WebP でダウンロードしてください。すべてブラウザー内で描画されるため、生成した内容がサーバーに送られることはありません。

操作に合わせてアドレスバーが更新されるので、リンクは常に表示どおりの状態を再現します。特定の数列を共有したり、設定を保存しておくのに便利です。値をプレーンテキストで取り出すには コピー、CSV・JSON・NDJSON・SQL・XML が必要なら データを書き出す を使ってください。

出典

このページの歴史的な記述は、上に挙げたオープンライセンスの資料に基づいています。誤りを見つけたら お知らせください。修正します。