n=9.
Inspecting the first digit from the right in the given equation, we find that 2O is divisible by n.
So either O = 0 or O = n/2.
In the second case, from the third digit we derive K > n/2, but from the fifth digit we have that 3K ≤ T ≤ n-1, so K < n/3.
It follows that O = 0.
Now we have these equations:
3T = Kn + Y (from the second and third digits)
3Y = cn (where c is the number carried from the fourth to the fifth digit)
3K + c = T (the fifth digit)
Multiplying the first equation by 3 and substituting in the values for 3Y and 3K from the two other equations, we get:
3T = Kn + Y
9T = 3Kn + 3Y
9T = (T-c)n + cn
9T = Tn
n = 9
We must also make sure that there's at least one solution for this n.
In fact, there are four: KYOTO = 13040, 16050, 23070, or 26080. |