the sum of two squares problem
Important: The numtheory package has been deprecated. Use the superseding command NumberTheory[SumOfSquares] instead.
The sum2sqr returns the solutions of the sum of two squares problem.
The result is returned as in the form [[a1,b1],[a2,b2],...,[an,bn] where ai, bi are non-negative integers, ai2+bi2=n, and ai<=bi,1<=i<=n.
The command with(numtheory,sum2sqr) allows the use of the abbreviated form of this command.
Download Help Document
What kind of issue would you like to report? (Optional)