I'm not saying you're wrong Dylan. But assume you start by entering 16. Then, laboriously, eliminate all the possibilities for 12(2) apart from two. The entry for 16 excludes one of those. So, then there was only one possibility for 12(3), and that ends in 9. So, 14 must be 9x and is the sum of 2 squares, the possible values for x being 0,7,8. You already have the first digit for T entered, the possible values for the other are 0,2,3,8. Only 0&8 correspond.
However I may easily have made an error since none of it is self-checking, at least not yet. And values of either 50 or 58 for T are giving me a problem with the value for M in the second expression of 14.
I need to get out !