Problem

Source:

Tags: number theory, divisible, divides



Natural numbers $m$ and $n$ are given. Prove that the number $2^n-1$ is divisible by the number $(2^m -1)^2$ if and only if the number $n$ is divisible by the number $m(2^m-1)$.