Determine all digits $z$ such that for each integer $k \ge 1$ there exists an integer $n\ge 1$ with the property that the decimal representation of $n^9$ ends with at least $k$ digits $z$. (Proposed by Walther Janous)
Problem
Source: 49th Austrian Mathematical Olympiad National Competition (Final Round, part 2) 1st June 2018 p6
Tags: decimal representation, number theory, Digits