login
A004517
Generalized nim sum n + n in base 7.
0
0, 2, 4, 6, 1, 3, 5, 14, 16, 18, 20, 15, 17, 19, 28, 30, 32, 34, 29, 31, 33, 42, 44, 46, 48, 43, 45, 47, 7, 9, 11, 13, 8, 10, 12, 21, 23, 25, 27, 22, 24, 26, 35, 37, 39, 41, 36, 38, 40, 98, 100, 102, 104, 99, 101, 103, 112
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: A077069 A261596 A080413 * A254350 A357049 A364864
KEYWORD
nonn,base
STATUS
approved