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.
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (1,1,1).
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