Problem

Source: S&M 2002 2nd Grade P3

Tags: number theory, Divisibility



Let $m$ and $n$ be positive integers. Prove that the number $2n-1$ is divisible by $(2^m-1)^2$ if and only if $n$ is divisible by $m(2^m-1)$.