There is a number $N$ that if we add to him the number $100$ we take a square and if we add to him the number $168$ we take a square.Find this $N$
Any ideas would be apreciated for this puzzle
There is a number $N$ that if we add to him the number $100$ we take a square and if we add to him the number $168$ we take a square.Find this $N$
Any ideas would be apreciated for this puzzle
See that $N+100=A^2$ and $N+168=B^2$ for some $A$ and $B$, so $68=B^2-A^2=(B-A)(B+A).$ As $68=17\times 2^2$ it doesn't let a lot of choices for $B-A$ and $B+A,$ and by checking some cases you find $A=16, B=18$ and so $N=156.$
Let $s^2 = N+168$ and $t^2 = N+100$. Then $(s+t)(s-t) = s^2 - t^2 = 68 = 2\cdot 2 \cdot 17$. The choices for $s-t$ give $s=t+1, s=t+2, s=t+4, s=t+17, s=t+34, s=t+68$. (Restricting to positive integers because $\pm s$ and $\pm t$ work for any working choice of $s$ and $t$...)
Having worked through the choices the only solution is $N = 156$.
Edit: Added a little more detail to the cases.