Proof. If we expand the square, using the formula
we obtain for
, and for any integer
,
We prove first that
By Problem 17, for all
,
Let
be distinct elements of
, and put
. Since
defined by
is a bijection, we obtain by equation (3)
Therefore, for all integers
such that
, taking
, we obtain
.
Moreover, if
, then
because exactly one
is such that
, so that
, and
for the others
.
Now, using equation (1) and (2), we obtain by reversing the order of the summations
(there are
ordered pairs
such that
).
We have proved
□