[go: up one dir, main page]

login
A004518
Generalized nim sum n + n in base 8.
0
0, 2, 4, 6, 0, 2, 4, 6, 16, 18, 20, 22, 16, 18, 20, 22, 32, 34, 36, 38, 32, 34, 36, 38, 48, 50, 52, 54, 48, 50, 52, 54, 0, 2, 4, 6, 0, 2, 4, 6, 16, 18, 20, 22, 16, 18, 20, 22, 32, 34, 36, 38, 32, 34, 36, 38, 48, 50, 52, 54
OFFSET
0,2
FORMULA
Generalized nim sum m + n in base q: write m and n in base q and add mod q with no carries; e.g., 5 + 8 in base 3 = "21" + "22" = "10" = 1.
CROSSREFS
Sequence in context: A182687 A141062 A131806 * A013670 A121206 A062004
KEYWORD
nonn
STATUS
approved