About cookies on this site Our websites require some cookies to function properly (required). In addition, other cookies may be used with your consent to analyze site usage, improve the user experience and for advertising. For more information, please review your options. By visiting our website, you agree to our processing of information as described in IBM’sprivacy statement. To provide a smooth navigation, your cookie preferences will be shared across the IBM web domains listed here.
December 2002
<<November December January>>
The solution is 386, 2114, 3970, 10430. These numbers satisfy the conditions below.
386+2114=2500=50^2
386+3970=4356=66^2
386+10430=10816=104^2
2114+3970=6084=78^2
2114+10430=12544=112^2
3970+10430=14400=120^2
386+2114+3970+10430=16900=130^2
Sketch of a non-brute-force solution:
The sum of all four (a+b+c+d) is the square of the right-hand side of a Pythagorean triple in three different ways, so it has to be divisible by a handful of prime factors, each of which is 1 mod 4 (or else the prime 2). Since it cannot exceed sqrt(4*12000) < 220, there are not that many candidates. The right one turns out to be 130=2*5*13.
If you have any problems you think we might enjoy, please send them in. All replies should be sent to: ponder@il.ibm.com