cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A280308 Tribonacci numbers: a(n) = a(n-1) + a(n-2) + a(n-3) with a(0)=3, a(1)=4, a(2)=5.

Original entry on oeis.org

3, 4, 5, 12, 21, 38, 71, 130, 239, 440, 809, 1488, 2737, 5034, 9259, 17030, 31323, 57612, 105965, 194900, 358477, 659342, 1212719, 2230538, 4102599, 7545856, 13878993, 25527448, 46952297, 86358738, 158838483, 292149518, 537346739, 988334740, 1817830997, 3343512476, 6149678213, 11311021686, 20804212375
Offset: 0

Views

Author

Peter M. Chema, Dec 31 2016

Keywords

Comments

Like other tribonacci sequences, the digital root is period length 39, and is as follows: (3, 4, 5, 3, 3, 2, 8, 4, 5, 8, 8, 3, 1, 3, 7, 2, 3, 3, 8, 5, 7, 2, 5, 5, 3, 4, 3, 1, 8, 3, 3, 5, 2, 1, 8, 2, 2, 3, 7).
Completes the set of tribonacci numbers with 3,4,5 as initial terms, the others being (3,5,4), (4,5,3), (4,3,5), (5,3,4), and (5,4,3). The sum of each of the digital root periods in the above set is 162, except (4,3,5), which sums to 180; the sum of the digital root period of A081172 is also 180.
Each digital root period for tribonacci sequences has triple patterns in cycles of 13, such as period (1,4,7) or digital root of 4^n.

Crossrefs

Programs

  • Mathematica
    RecurrenceTable[{a[n] == a[n - 1] + a[n - 2] + a[n - 3], a[0] == 3, a[1] == 4, a[2] == 5}, a, {n, 38}] (* Michael De Vlieger, Dec 31 2016 *)
    LinearRecurrence[{1, 1, 1}, {3, 4, 5}, 40] (* Vincenzo Librandi, Jan 01 2017 *)

Formula

G.f.: (3+x-2*x^2)/(1-x-x^2-x^3). - Vincenzo Librandi, Jan 01 2017