OFFSET
0,1
LINKS
Index entries for linear recurrences with constant coefficients, signature (2,-1,-1,2,-1,-1,2,-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.
G.f.: (3 - 2*x + 3*x^3 - 2*x^4 - 6*x^6 + 7*x^7)/((-1+x)^2*(1+x^3+x^6)). - Jinyuan Wang, Mar 10 2020
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved