Sum of Squares - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


NumberTheory

  

SumOfSquares

  

solutions to the sum of two squares problem

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

SumOfSquares(n)

Parameters

n

-

integer

Description

• 

The SumOfSquares function computes the solutions to the sum of two squares problem.

• 

The return value is a set  of two-element lists of non-negative integers such that  is in  if and only if  and .

Examples

(1)

(2)

(3)

(4)

Compatibility

• 

The NumberTheory[SumOfSquares] command was introduced in Maple 2016.

• 

For more information on Maple 2016 changes, see Updates in Maple 2016.

See Also

NumberTheory

 


Download Help Document