[go: up one dir, main page]

login
A004522
Generalized nim sum n + n in base 12.
0
0, 2, 4, 6, 8, 10, 0, 2, 4, 6, 8, 10, 24, 26, 28, 30, 32, 34, 24, 26, 28, 30, 32, 34, 48, 50, 52, 54, 56, 58, 48, 50, 52, 54, 56, 58, 72, 74, 76, 78, 80, 82, 72, 74, 76, 78, 80, 82, 96, 98, 100, 102, 104, 106, 96, 98, 100
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: A340606 A276138 A114973 * A004521 A103694 A372144
KEYWORD
nonn,base
STATUS
approved