13.086. A positive integer is thought of. To its notation, the digit 7 is appended on the right, and from the resulting new number, the square of the thought number is subtracted. The remainder is reduced by $75\%$ of this remainder, and the thought number is subtracted again. In the final result, zero is obtained. What number was thought of?
Solution.

Let the number be $x$. Consider the numbers $10 x+7, 10 x+7-x^{2}$, and the remainder $\frac{25}{100}\left(10 x+7-x^{2}\right)$. Then $\frac{1}{4}\left(10 x+7-x^{2}\right)-x=0, x^{2}-6 x-7=0 \Rightarrow$ $\Rightarrow x=7$

Answer: 7.