Negabinary

Example

For example, the negabinary representation of 201 is

(−2)8

(−2)7

(−2)6

(−2)5

(−2)4

(−2)3

(−2)2

(−2)1

(−2)0

256s

−128s

64s

−32s

16s

−8s

4s

−2s

1s

1

1

1

0

1

1

0

0

1