OFFSET
0,6
COMMENTS
f(n) is negative about 2/7 of the time to 10^7. f(n) is zero, see A008148
MATHEMATICA
f[n_] := FromDigits[ RotateRight[ IntegerDigits[n, 2]], 2] - FromDigits[ RotateLeft[ IntegerDigits[n, 2]], 2]; Table[ f[n], {n, 0, 82}]
CROSSREFS
KEYWORD
sign
AUTHOR
Robert G. Wilson v, Sep 13 2003
STATUS
approved