Problem 313. Pythagorean perfect squares: find the square of the hypotenuse and the length of the other side
Solution Stats
Problem Comments
-
1 Comment
Peter Wittenberg
on 2 Jan 2014
There's a problem with the solution suite. For seed=12 and n=16, the proposed answer of 5, 12, 13 as a Pythagorean triple is indeed a good one. However, 9, 12, 15 is equally valid but not included as an answer. To avoid this, I would suggest changing the problem so that it requires finding the answer with the minimum Z^2 to avoid ambiguity.
Solution Comments
Show commentsProblem Recent Solvers49
Suggested Problems
-
1438 Solvers
-
Find a subset that divides the vector into equal halves
373 Solvers
-
Are all the three given point in the same line?
371 Solvers
-
Square Digits Number Chain Terminal Value (Inspired by Project Euler Problem 92)
208 Solvers
-
196 Solvers
More from this Author16
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!