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 Solvers6
Suggested Problems
-
21135 Solvers
-
1375 Solvers
-
390 Solvers
-
middleAsColumn: Return all but first and last element as a column vector
647 Solvers
-
I've got the power! (Inspired by Project Euler problem 29)
143 Solvers
More from this Author323
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.