Trinity S³AI

Sum and carry: addition as two gates

The sum trit and the carry trit of a + b are two 3 x 3 tables. There are 19,683 such two-input gates in ternary and 16 in binary.