Problem

Source:

Tags: number theory



Find the last four digits of each of the numbers $3^{1000}$ and $3^{1997}$.