login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A280308
Tribonacci numbers: a(n) = a(n-1) + a(n-2) + a(n-3) with a(0)=3, a(1)=4, a(2)=5.
1
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,1
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.
FORMULA
G.f.: (3+x-2*x^2)/(1-x-x^2-x^3). - Vincenzo Librandi, Jan 01 2017
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 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Peter M. Chema, Dec 31 2016
STATUS
approved