Date: Wed, 15 Mar 00 17:44:15 EST From: Dan Hoey To: spears@AIC.NRL.Navy.Mil Subject: more math > The transformation I use to go from base 3 to balanced base 3 > is to convert a 2 to a 0 and add 1 to the next higher order digit. Change 2 to -1 and add 1 to the next higher digit. Another way is to add (3^n-1)/2 and subtract one from every digit. > I just played with it and it looks as if to go from base 5 to > balanced base 5 (-2, -1, 0, 1, 2) one converts a 3 to a -2, or > a 4 to a -1, and then add 1 to the next higher order digit. Yes, or add (5^n-1)/2 and subtract 2 from every digit. The cute thing is to design a circuit to add two balanced numbers. I don't remember if you can do it from right to left or not. Dan