The question
Determine the pairs of numbers of the form $\overline{ab} , \overline{cd}$ (numbers with 2 digits in base 10) for which the equality $$\sqrt{ \frac{\overline{ab}^2 + \overline{cd}^2}{2}} = \frac{ \overline{ab} + \overline{cd}}{ 2} +1$$, is true.
My idea
I noted the numbers as x and y to be more easy to write.
If we square it up and then multiply by 4 we get that:
$2x^2+2y^2=x^2+y^2+2xy+4x+4y+4$
$x^2+y^2-2xy=4(x+y+1)=(x-y)^2$
From here we get that $x+y+1$ is a square number.
I thought of using modular arithmetic.
I dont know what to do forward. Thank you!
From the equation,
$x^2-2xy+y^2-4x-4y-4=0$,
We try to solve for y in terms of x using the quadratic formula. We obtain
$y = x + 2\pm\sqrt{8(x+1)}$, or
$y = x + 2\pm2\sqrt{2}\sqrt{x+1}$
For y to be integral, $x+1$ must be a multiple of $2$, and $\frac{x+1}{2}$ must be a perfect square.
i.e, $x = 2n^2-1$, then
$y =2n^2+1\pm4n$.
The the possible pairs of numbers with the given condition are: $(17,31),(17,7),(31,49),(31,17),(49,71),(49,31),(71,97),(71,49),(97,71)$