See the spreadsheet OnlyAverage.xls
Let the even numbers excluded be
and
. Then we know that
Hence:
It follows that:
and
Solving the quadratic equation
gives
From (2) and (3) we have
From (1):
and so
Using a spreadsheet to calculate
for
we find
that the only integer value of
is
corresponding to
. The unique solution to the problem is
and the even
numbers excluded are 22,24,26 and 28.