# Let $n$ be the positive integer such that $5^n$ and $2^n$ begin with same digit. Which digit is that?

This is my first time posting here so sorry if I done something wrong, and also my first time encountering a problem like this.

Besides trivial $0$, the only solution I found by simply writing down the powers of $2$ and $5$ parallely, is $5$ ($5^5=3125$, $2^5=32$). I couldn't find any kind of period. I've done problems which are about last digit, but not about the first one.

Hopefully I could get a hint. Thanks.

-

Hint: $5^n\times2^n=10^n$. ${}$