Exercise · ZW-SUM-OF-TWO-SQUARES-010 · ★★★ Advanced

What is the smallest positive integer that can be written as a sum of two squares in two different ways, using positive integers?

Choose one option.

Show answer
  • A. 50

Explanation

\(50 = 1^2 + 7^2 = 5^2 + 5^2\), and no smaller positive integer has two distinct representations; 25 and 45 have only one.

Study Elementary number theory in ZWMath →

Review the concept: Sum of two squares

An integer \(n\) is a sum of two squares if it can be written as the sum of the squares of two integers.

\[n = x^{2} + y^{2}\]

More practice problems: sum of two squares

← ZW-SUM-OF-TWO-SQUARES-009