last nonzero digit of (5^a+5^b+...)!, find periodicity
Source: Putnam 1984 A6
September 2, 2021
number theorySequences
Problem Statement
Let be a positive integer, and let denote the last nonzero digit in the decimal expansion of . Show that if are distinct nonnegative integers, then depends only on the sum .
Assuming part , we can define
where . Find the least positive integer for which
or show that no such exists.