solutions to the sum of two squares problem
The SumOfSquares function computes the solutions to the sum of two squares problem.
The return value is a set s of two-element lists of non-negative integers such that x,y is in s if and only if x≤y and x2+y2=n.
s ≔ SumOfSquares⁡10281960
The NumberTheory[SumOfSquares] command was introduced in Maple 2016.
For more information on Maple 2016 changes, see Updates in Maple 2016.
Download Help Document