Problem

Source: Moldova TST 2016

Tags: number theory



Show that for every prime number $p$ and every positive integer $n\geq2$ there exists a positive integer $k$ such that the decimal representation of $p^k$ contains $n$ consecutive equal digits.