login
A034798
Value of n considered as a game.
4
0, 1, 0, 2, 1, 1, 2, 2, 0, 1, 0, 3, 1, 1, 3, 3, 0, 2, 0, 2, 2, 2, 2, 2, 0, 3, 0, 3, 3, 3, 3, 3, 0, 2, 0, 2, 2, 2, 2, 2, 0, 3, 0, 3, 3, 3, 3, 3, 0, 2, 0, 2, 2, 2, 2, 2, 0, 3, 0, 3, 3, 3, 3, 3, 0, 1, 0, 3, 1, 1, 3, 3, 0, 1, 0, 3, 1, 1, 3, 3, 0, 3, 0, 3, 3, 3, 3, 3, 0, 3, 0, 3, 3, 3, 3, 3, 0, 3, 0, 3
OFFSET
0,4
FORMULA
a(n) = smallest number not equal to a(i) for some i representing a 1-bit in the binary expansion of n (least significant bit is 0th bit)
CROSSREFS
See A034797 for more information.
Sequence in context: A093324 A169676 A355912 * A225803 A357458 A349277
KEYWORD
nonn
AUTHOR
Joseph Shipman (shipman(AT)savera.com)
EXTENSIONS
More terms from David Wasserman, Jan 24 2002
STATUS
approved