Congratulations John from State College
Area High School, Pennsylvania, USA, Andrei from School 205,
Bucharest, Romania and Marcos from Cyprus on your excellent
solutions to Quadratic Harmony.
Say that
has roots
,
. Then
and
. Without loss of generality,
.
Case 1:
. Then
. So
, so
, so
. Since
and
are natural numbers, we must have
and
, so
, so
.
Case 2:
. Then
, so
, so
, so
. Without loss of generality,
, so
and
. So the quadratics are
and
. The first of these has roots 1 and
, as we expected. So
we just need the second one to have natural number roots. So certainly
(the discriminant) is a square, say
. Then
.
We can quickly check that we can't have 8, 1 as this gives a value of
that
isn't an integer. So we have
,
, so
. Now we are trying
to solve
and
, and these are clearly both soluble in
positive integers.
So, to summarise, the only possible values are
,
, and
,
(or obviously
and
reversed).