write c^3 as sum of two squares a^2+b^2. a and b must be integer and greater than zero.

For example

 5^3 = 2^2 + 11^2
 5^3 = 5^2 + 10^2
 10^3 = 10^2 + 30^2
 10^3 = 18^2 + 26^2

sort output matrix so that each row and first column is in ascending order.

Solution Stats

1149 Solutions

329 Solvers

Last Solution submitted on Mar 18, 2026

Last 200 Solutions

Problem Comments

Solution Comments

Show comments
Loading...

Problem Recent Solvers329

Suggested Problems

More from this Author92

Problem Tags

Community Treasure Hunt

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

Start Hunting!