Let's say I have a number system with an array defining the bases at each position. For example, [1,1,1] would be a binary number system (each digit can be 0 or 1) in which any number from 0 to 3 can be represented. Similarly, I can have [3,2,1] where the units digit can be 0 or 1, the tens digit can be 0,1 or 2 and the hundreds digit can be 0,1,2 or 3. if these digits are $u$, $t$ and $h$ respectively the number becomes: $u+2t+3h$.
Let's define consistency as the property where every integer less than the max permissible value has one and only one representation in the base system.
Now, the second number system in the examples above isn't consistent. If I take 4, there are two ways to represent it: $[1,0,1] = 3*1+2*0+1*1$ or $[0,2,0] = 3*0+2*2+1*0$. On the other hand, [6,2,1] is consistent. Is there a way by looking at the array of bases weather or not the number system is consistent.