Did you know Cards Games

Fermat's theorem on sums of two squares

Fermat's theorem on sums of two squares (1625): theorem that an odd prime is a sum of two squares iff it is of the form 4𝑛+1. No. 144,672 of 4,515,532 cards by fame.

Fermat's theorem on sums of two squares: quick facts

Description
Theorem that an odd prime is a sum of two squares iff it is of the form 4𝑛+1
Published
1625
Rarity in the game
Legendary card
In its topic
No. 1,768 of 10,238 “Mathematics” cards
Wikipedia
article in 23 languages
Wikidata
Q914517
Wikipedia page views
about 5,900 a month (November 2025 – October 2026)

Fame score: Wikipedia page views (July 2015 – October 2026, 39 languages). Updated .

Do you know?

Fermat's theorem on sums of two squares: what year was it published?

Show the answer

Right answer: 1625

Another question: play “Do you know?” → · More questions: Mega Quizz →

Fermat's theorem on sums of two squares
Photo: H. Loeffel, Public domain (Wikimedia Commons)

Fermat's theorem on sums of two squares: summary

In additive number theory, Fermat's theorem on sums of two squares states that an odd prime p can be expressed as: p=x2+y2, with x and y integers, if and only if p≡1. The prime numbers for which this is true are called Pythagorean primes. For example, the primes 5, 13, 17, 29, 37 and 41 are all congruent to 1 modulo 4, and they can be expressed as sums of two squares in the following ways: 5=12+22,13=22+32,17=12+42,29=22+52,37=12+62,41=42+52.

Source: Wikipedia (CC BY-SA 4.0)

More cards: Mathematics

The best-known of the 10,238 “Mathematics” cards

This card's topics

“Fermat's theorem on sums of two squares” is one of the 4,515,532 cards of Did you know Cards, the free Wikipedia card game where you learn as you play: every card is a piece of knowledge from Wikipedia. Open boosters, complete your albums and challenge other players to duels.