Problem

Source:

Tags: number theory



Determine the last four digits of a perfect square of a natural number, knowing that the last three of them are the same.