interactive

Balanced arithmetic

Every balanced ternary digit lands in the nearest column, so carries can go - as well as +: 1 + 1 writes −1 and carries +1 to the next place. Step through the columns from the right, or run the whole op.

phase 0/7

word dial

6 trits · set each switch to - 0 +
243
81
27
9
3
1
reads000+++9 +3 +1 =13

word dial

6 trits · set each switch to - 0 +
243
81
27
9
3
1
reads000-+--9 +3 -1 =-7

addition columns

press step › to begin
place
2438127931
A
000+++
B
000-+-
carry
000+00
digit
000+-0

digit rule

-3
0
−1
-2
+
−1
-1
-
0
0
0
0
1
+
0
2
-
+1
3
0
+1