Theorem 1 of chapter 27 of the book Diophantine Equations by Louis J. Mordell shows that the equation
has a finite number of real, integer solutions
. One of them has
because
.
Write a function that takes a value
and returns a two-column matrix with
pairs for
. Sort the pairs in order of increasing x.
Solution Stats
Problem Comments
1 Comment
Solution Comments
Show comments
Loading...
Problem Recent Solvers9
Suggested Problems
-
2252 Solvers
-
Project Euler: Problem 8, Find largest product in a large string of numbers
1328 Solvers
-
Given a window, how many subsets of a vector sum positive
873 Solvers
-
Right Triangle Side Lengths (Inspired by Project Euler Problem 39)
2124 Solvers
-
375 Solvers
More from this Author328
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
Superb job of not giving away answers in the test suite.