What is the smallest perfect square whose last 3 digits are all the same digit?
After testing different numbers with a calculator, I have found that $38^2=1444$ is the smallest...how would you do so without using a calculator? I've tried writing as
$A \cdot 10^3 + 111 \cdot B = k^2$ and playing around with it, taking mod $3$ and $37$ (since $111=3\cdot37$), but those have yielded nothing...
Also, I know it must be 4 digit since $100^2=10,000$ is also a perfect square with its last 3 digits the same.