All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Numbers
Sum of four squares (Posted on 2025-04-14) Difficulty: 3 of 5
There are infinitely many sets of positive integers A<B<C<D such that A^2+B^2, A^2+B^2+C^2, and A^2+B^2+C^2+D^2 are all squares. Find the value of A≤ 1500 which leads to the largest number of solutions.

No Solution Yet Submitted by K Sengupta    
No Rating

Comments: ( Back to comment list | You must be logged in to post comments.)
Some Thoughts Different Parameters, Different Solution Comment 5 of 5 |
Here is an updated program output with different parameters, setting the maxima of A,B,C,D to:
    1500 3500 5500 7500

I now believe that requested value of A may depend too heavily on how large the numbers in the search space can be.  The present program took about 2.5 hours to run.  It seems like there should be an analytic way with one leg of a right triangle known to limit the search to a subset of the possible second leg lengths rather than checking every integer in the range, but I have not thought of any way.

With smaller parameters, there was a 3-way tie for first in the A^2+B^2 contest, but allowing larger numbers broke the tie
ab [840] 21
3330
abc [288] 84
8198
abcd [252] 202
13686


There was a new winner.  A=252 squeaked past A=288 for the win.  Here are the top ten rankings of A and the number of quadruplets counted.
 A count  (of {A,B,C,D})
252 202
288 201
504 185
432 182
720 181
576 180
360 168
144 160
180 156
756 155

  Posted by Larry on 2025-04-17 14:02:41
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (13)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2025 by Animus Pactum Consulting. All rights reserved. Privacy Information