MathLabs

Problem 2

Find all natural numbers xx such that the product of their digits (in decimal notation) is equal to x2−10x−22x^2 - 10x - 22.
Step 4 of 5: x = 12 satisfies the equation exactly
In plain words

It is worth pausing here: with only twelve candidates in play and eleven already eliminated on sign alone, this final direct computation is a two-line arithmetic check, not a search.

x=12:122−10⋅12−22=2,1⋅2=2x=12:\quad 12^2-10\cdot12-22=2, \qquad 1\cdot 2=2
Detailed analysis

For x=12x=12, the right-hand side is 122−10⋅12−22=144−120−22=212^2-10\cdot12-22=144-120-22=2. The digits of 1212 are 11 and 22, whose product is 1⋅2=21\cdot2=2. The two sides agree, so x=12x=12 is a genuine solution.