# A number theory problem by Rahil Sehgal

Find a 4-digit positive integer $$a$$ such that both $$a^2$$ and $$a$$ have the same last 4 digits.

×