Problem

Source:

Tags: modular arithmetic, binomial coefficients, Divisibility Theory



Show that the coefficients of a binomial expansion $(a+b)^n$ where $n$ is a positive integer, are all odd, if and only if $n$ is of the form $2^{k}-1$ for some positive integer $k$.