Exercise · ZW-SUM-OF-TWO-SQUARES-005 · ★☆☆ Basic

Is the number 2 a sum of two squares?

Choose one option.

Show answer
  • B. Yes, because \(2 = 1^2 + 1^2\)

Explanation

Since \(1^2 + 1^2 = 2\), the number 2 is a sum of two squares; the prime 2 is an exception to the criterion, which only applies to odd primes.

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-004 ZW-SUM-OF-TWO-SQUARES-006 →