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}, {7, 8, 6, 1, 2, 0, 4, 5, 3, 16}, 80] (* Jinyuan Wang, Mar 10 2020 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved