Let
where is a positive integer and is any given positive integer.
In the case when is even, show by induction that can be written in the form
where and are integers (depending on and ) and .
In the case when is odd, show by considering where is even, or otherwise, that can be written in the form
where and are integers (depending on and ) and .
- Deduce that, for each , can be written as the sum of the square roots of two consecutive integers.