Each of the small letters in bold represents a different base x digit from 0 to x-1 to satisfy this alphametic equation. None of the numbers can contain any leading zero.

(x-1)***number** = **integer**

Determine the minimum positive integer value of x such that the above equation has at least one solution. What is the next smallest value of x having this property?

With base 14 the alphametic can be solved in several ways. One way is:

9a23537 B=12=c E=3 G=5 I=9 M=8 N=10=a R=7 T=2 U=6

+ a68c37

--------

a68c370