------------------------------------------------------------------------------------------ Step 1: Convert base-10 value to base-3 value ------------------------------------------------------------------------------------------ Example 1 base-10: 345 => base-3: 110210 Example 2: base-10: 142 => base-3: 12021 ------------------------------------------------------------------------------------------ Step 2: Convert base-3 (unbalanced ternary) value to balanced ternary value Example 1: base-10: 345 ------------------------------------------------------------------------------------------ base-10: 345 => base-3: 110210 Unbalanced ternary: 110210 Reverse the order: 012011 Balanced ternary: 01T111 <= Add a 1 for each trit value 2 base-10: 345 => balanced ternary: 01T111 ------------------------------------------------------------------------------------------ Step 2: Convert base-3 (unbalanced ternary) value to balanced ternary value Example 2: base-10: 142 ------------------------------------------------------------------------------------------ base-10: 142 => base-3: 12021 Unbalanced ternary: 12021 Reverse the order: 12021 Balanced ternary: 1T1TT1 <= Add a 1 for each trit value 2 base-10: 142 => balanced ternary: 1T1TT1 ------------------------------------------------------------------------------------------ Convert a negative base-10 value to a balanced ternary value Example 1: base-10: -345 ------------------------------------------------------------------------------------------ a) Remove the minus sign and convert the decimal value 345 to a base-3 or unbalanced ternary value. base-10: 345 => balanced ternary: 01T111 b) Swap 1 with T and T with 1 base-10: -345 => balanced ternary: 0T1TTT ------------------------------------------------------------------------------------------ Convert a negative base-10 value to a balanced ternary value Example 2: base-10: -142 ------------------------------------------------------------------------------------------ a) Remove the minus sign and convert the decimal value 142 to a base-3 or unbalanced ternary value. base-10: 142 => balanced ternary: 1T1TT1 b) Swap 1 with T and T with 1 base-10: -142 => balanced ternary: T1T11T