Let's $v$ the smallest positive integer > 1 for which $2 ^ {v} - 1$ divisible by $p$. Prove that $2 ^ {m} - 1$ ($m > v$) divisible by $p$ then and only then $v$ divide $m$?
There is a hint that enough to divide $m$ into $v$ with the remainder, but it gives me nothing.