Let $S$ = $\{0,1,\ldots,9\}$.
Some $k = 1$ is trivially interesting because the set of the last digit of [each element of $S$ taken to the $k^{\text{th}}$ power] is a permutation of $S$. Find the $171^{\text{th}}$ highest $k$ for which this property holds.