sumsqint
Finds all distinct ways of writing a number as the sum of squares, i.e. solve x^2+y^2=n for 0<=x<=y.
You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Cite As
Ben Petschel (2026). sumsqint (https://ch.mathworks.com/matlabcentral/fileexchange/24798-sumsqint), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired by: Variable Precision Integer Arithmetic
General Information
- Version 1.1.0 (4.28 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux