OFFSET
0,1
LINKS
Index entries for linear recurrences with constant coefficients, signature (1,0,0,0,0,0,0,0,1,-1).
FORMULA
Tersum m + n: write m and n in base 3 and add mod 3 with no carries, e.g. 5 + 8 = "21" + "22" = "10" = 1.
MATHEMATICA
LinearRecurrence[{1, 0, 0, 0, 0, 0, 0, 0, 1, -1}, {8, 6, 7, 2, 0, 1, 5, 3, 4, 17}, 80] (* Jinyuan Wang, Mar 10 2020 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved