Fermat's Theorem on Sums of Two Squares

 If an odd prime number leaves remainder of 1 when divided by 4 then it can be expressed as sum of two integer squares and those 2 integers will be unique for this prime.

Examples: 
17 = 16 + 1
29 = 25 + 5
41 = 25 + 16
1013 = 22^2 + 23^2

Comments

Popular posts from this blog

Simon's factoring trick(complete the rectangle)

IOQM 2023 solutions

IOQM 2024 Paper solutions (Done 1-21, 29)