click the yellow boxes to change representations click the scratch cat to enter a new decimal number use UP and DOWN arrow keys to increase and decrease the number by one. use LEFT and RIGHT arrow keys to multiply or divide by two
https://en.wikipedia.org/wiki/Balanced_ternary Balanced Ternary is a base system like ternary, each place value having the same as in ternary (Nth digit counting from the right has weight 3^N) but instead of 0, 1, and 2, the digits are either -1, 0, or +1. In balanced ternary, there is no need to use a minus sign to indicate whether a number is overall positive or negative. It is sometimes used in computers because binary and trinary have comparable 'radix economy' https://en.wikipedia.org//wiki/Radix_economy and because balanced ternary has better symmetry than conventional ternary. Particularly, doing arithmetic using balanced ternary tends to require fewer 'carries' of digits. As seen here, you can also have some very nice and symmetrical looking representations, including some for which multiplying by negative one means just flipping or rotating the symbols. in such a scheme, if one is doing a multiplication, each multiplication of the first number by the Nth digit of the second is easy to do, being either a zero, the number itself, or the opposite of the number. when it comes to rounding decimals, a balanced representation means that rounding is equivalent to truncation, whereas with conventional base systems you must check if the next digit is more or less than half the radix.