$\textbf{Problem 4.}$ The number of perfect inhabitants of a city was a perfect square, in other words, a whole number squared. with $100$ people plus the new number of inhabitants turned out to be a perfect square plus one. Now, with another increase of $100$ people, the number of inhabitants is again a perfect square. What was the number of inhabitants original city?