In a french village the number of inhabitants is a perfect square. If $100$ more people moved in, then the number of people would be $ 1$ bigger than a perfect square. If again $100$ more people moved in, then the number of people would be a perfect square again. How many people lives in the village if their number is the least possible?
Problem
Source: 2021 Dürer Math Competition Finals Day2 E+2 https://artofproblemsolving.com/community/c2749870_
Tags: number theory, Perfect Square