Let the numbers excluded be
and
.
Then we know that
Hence:
It follows that:
and
Hence
and, as we already
know
is not less than 3, this gives
From (2) and (3) we have
From (1):
and so
Using a spreadsheet to calculate
for
we find
that the solutions are:
, remove 1,2, and 3
, remove 9, 10 and 11
, remove 15, 16 and 17.
See the spreadsheet
giving the solutions.