Ternary representation (base 3)
•12 stones   
•110 in ternary representation (notation)
•12dec = 1*32 + 1*31 + 0*30
•
•Ndec = an*3n + an-1*3n-2 + … + a2*32 + a1*31 + a0*30              ai = 0 or 1 or 2
•
•                           n
•Ndec = ∑ ai*3i
•                i=0
•
•