Our 13 year old daughter brought home this maths question that she was asked in a "maths challenge" last week:
Q. The values of the adjacent and opposite sides in a right angle triangle of lengths 3, 4, 5 are consecutive. Obtain another triangle with consecutive adjacent and opposite sides having values between 500 and 1000.
My wife and I spent two hours trying to figure it out before we gave up. The teacher provided the solution (696, 697, 985) but could not explain how to obtain it. Searching on internet we can see solutions to this but none of them that we would expect even a very clever 13 year old to know. Are we missing something obvious?
Thanks,
Adrian
The question, of course, is down to the following.
Let $a>0$ be a natural number. When is $$ a^2+(a+1)^2=2a^2+2a+1=b^2 $$ for some other natural number $b$?
The question doesn't seem suitable for school kids, except possibly the very brightest ones, given the fact (that I haven't checked) that the next solution is for $a=696$.
There's a standard way to obtain Pythagorean triples using analytic geometry. In fact Pythagorean triples $(a,b,c)$ are essentially in one-to-one correspondence with points on the circle $C:x^2+y^2=1$ with both coordinates rational. The association is $$ (a,b,c)\longleftrightarrow\left(\frac ac,\frac bc\right)\in C. $$ Thus we can parametrize Pythagorean triples systematically, just take the generic line $y=t(x-1)$ through $(1,0)\in C$ and the second point of intersection $P_t$ will have both coordinates in $\Bbb Q$ exactly when $t\in\Bbb Q$. In fact the coordinates of the second intersection point are easily obtained: $$ P_t=\left(\frac{t^2-1}{t^2+1},\frac{2t}{t^2+1}\right) $$ (parameter $t$ renormalized so to have the coordinates both positive when $t>0$). Yet doesn't seem to be a trivial task to answer the question using this parametrization.
It's worth noting that the problem would be much easier if we would ask that the difference of length between the hypothenuse and one of the sides be $1$, as in the case $(5,12,13)$.
Indeed one would have to check when $$ c^2-b^2=(c+b)(c-b)=c+b=2b+1\qquad\qquad\qquad(*) $$ is a square and that is essentialy a trivial task. For instance one gets in a few seconds of a systematic search the triples $(7,24,25)$, $(9,40,41)$ and so on.
In fact, as even a 13 years old may find soon, just every odd number, not just the squares, is a sum of two consecutive numbers.