login
A004506
Tersum n + 17.
0
17, 15, 16, 11, 9, 10, 14, 12, 13, 26, 24, 25, 20, 18, 19, 23, 21, 22, 8, 6, 7, 2, 0, 1, 5, 3, 4, 44, 42, 43, 38, 36, 37, 41, 39, 40, 53, 51, 52, 47, 45, 46, 50, 48, 49, 35, 33, 34, 29, 27, 28, 32, 30, 31, 71, 69, 70, 65
OFFSET
0,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.
CROSSREFS
Sequence in context: A128158 A278824 A085095 * A096181 A248941 A261306
KEYWORD
nonn
STATUS
approved