Theorem 1 of chapter 27 of the book Diophantine Equations by Louis J. Mordell shows that the equation
y^2 = (x choose 0) + (x choose 1) + (x choose 2) + (x choose 3)
has a finite number of real, integer solutions (x,y). One of them has x = 7 because y^2 = 1 + 7 + 21 + 35 + 64 = 8^2.
Write a function that takes a value x = xmax­ and returns a two-column matrix with (x, y) pairs for x <= xmax. Sort the pairs in order of increasing x.

Solution Stats

24 Solutions

7 Solvers

Last Solution submitted on May 31, 2026

Last 200 Solutions

Problem Comments

Solution Comments

Show comments
Loading...

Problem Recent Solvers7

Suggested Problems

More from this Author325

Problem Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!