Tiling with 1 x k tiles;prove that if you can tile n x m rectangle, k|n or k|m (assuming k, n, m integers).
It is obvious that you get down to the remainders of n and m divided by k. Experience and logic say we can shift all the tiles to line up in blocks parallel to one side and if there are non-zero remainders less than k, the tiling fails. But how do I demonstrate that formally and mathematically?
There are other approaches to this problem, but one that I particularly like (which I first learned for another, slightly harder problem) is to consider the double integral of the function $e^{2\pi i(x/k+y/k)}$ and show that the integral is zero over a rectangle (with sides parallel to the axes) if and only if one of the sides is a multiple of $k$. Then, by assumption, the existence of a tiling shows that the integral over the entire rectangle must be zero (by additive of integration over disjoint regions).