A pretty puzzle
I heard it from @benjamin_leis, and he says he heard it from @CMonMattTHINK, and I love it:
The number of integer solutions to
appears to be a multiple of six for all . Why?
How good a puzzle is this? I started my swimming class on Thursday and decided to swim non-stop until I solved it. Forty lengths later they kicked me out of the pool.
As always, spoilers below the line.
This is a very pretty puzzle. Some observations to start with:
- The curve describes an ellipse
- There are two lines of symmetry to the ellipse,
and . - The extreme points of the ellipse are on the lines
and .
How I did it
I think it’s useful to break my solution into two bits, and acknowledge that the “correct”, underlying answer came after a lot of head-scratching and missteps. The key bit of reasoning was:
If
is an integer solution, fixing gives a quadratic . > I could solve that explicitly, but I don’t need to; is an integer, so the second solution is also an integer; the solutions sum to , so the other solution is , which (for convenience) I’ll call .
That means, if
We can carry on around to get
BUT! Rotational symmetry also gives a solution at
However, they aren’t all necessarily distinct! If any pair of
Underlying group structure
I wasn’t happy with my answer until I managed to shoehorn a group structure onto the solutions. The points can be classified by three pieces of information:
- Which letter is missing (isomorphic to
, with , and ) - Whether the signs are + or - (isomorphic to
) - Whether the second letter immediately follows the first (isomorphic to
as well). By convention, follows , follows and follows in a pleasing cycle.
And this gives a natural way to combine any pair of integer solutions!
The point
The point
Combining them together,
This is a group, because it’s isomorphic to
(In the degenerate case when a pair of variables is equal, each point coincides with exactly one other.)
Even more underlying
After reading around a bit on Diophanitine equations - by which I mean scanning a few paragraphs in a huff - I realised that the ellipse equation can be rewritten as:
Or, equivalently,
To tell the truth, that’s still a bit nebulous. However, it has the lovely pair of properties:
- by symmetry, if
is a solution, any permutation of two elements of is also a solution - by a different symmetry, if
is a solution, any permutation of two elements of is also a solution.
If
In either case, the number of solutions is a multiple of six.
Can I stop swimming now? I need to put my computer in rice.