Problem

Source:

Tags: number theory, Digits



A whole number is written on the board. Its last digit is remembered is then erased and multiplied by $5$ added to the number that remained on the board after erasing. The number was originally written $7^{1998}$. After applying several such operations, can one get the number $1998^7$?