Did you know Cards Games

Fermat's factorization method

Fermat's factorization method: integer factorization algorithm. No. 341,678 of 4,515,532 cards by fame.

Fermat's factorization method: quick facts

Description
Integer factorization algorithm
Rarity in the game
Epic card
In its topic
No. 4,714 of 9,102 “Computer science” cards
Wikipedia
article in 12 languages
Wikidata
Q983978
Wikipedia page views
about 1,600 a month (November 2025 – October 2026)

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

Play Masterpiece: match works to their artist →

Picture illustrating “Fermat's factorization method”
Photo: H. Loeffel, Public domain (Wikimedia Commons)

Fermat's factorization method: summary

Fermat's factorization method, named after Pierre de Fermat, is based on the representation of an odd integer as the difference of two squares: N=a2−b2. That difference is algebraically factorable as (a+b)(a−b); if neither factor equals one, it is a proper factorization of N. Every odd number can be represented as such. If N=cd is a factorization of N, then: N=(c+d2)2−(c−d2)2.

Source: Wikipedia (CC BY-SA 4.0)

More cards: Computer science

The best-known of the 9,102 “Computer science” cards

This card's topics

“Fermat's factorization method” 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.