Did you know Cards Games

Fermat's little theorem

Fermat's little theorem (1640): mathematical theorem that, for any prime 𝑝, the 𝑝th power of any integer 𝑛 is congruent to 𝑛 modulo 𝑝. No. 27,974 of 4,515,532 cards by fame.

Fermat's little theorem: quick facts

Description
Mathematical theorem that, for any prime 𝑝, the 𝑝th power of any integer 𝑛 is congruent to 𝑛 modulo 𝑝
Founded
October 18, 1640
Rarity in the game
Legendary card
In its topic
No. 528 of 10,238 “Mathematics” cards
Wikipedia
article in 58 languages
Wikidata
Q188295
Wikipedia page views
about 22,000 a month (November 2025 – October 2026)

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

Fermat's little theorem
Photo: Gubbubu, CC BY-SA 3.0 (Wikimedia Commons)

Fermat's little theorem: summary

In number theory, Fermat's little theorem states that if p is a prime number, then for any integer a, the number ap − a is an integer multiple of p. In the notation of modular arithmetic, this is expressed as ap≡a(modp). For example, if a = 2 and p = 7, then 27 = 128, and 128 − 2 = 126 = 7 × 18 is an integer multiple of 7.

Source: Wikipedia (CC BY-SA 4.0)

More cards: Mathematics

  • Freeman Dyson — theoretical physicist and mathematician
  • Dyscalculia — neurological condition, developmental or acquired
  • Bernoulli distribution — discrete probability distribution which compels the random variable to take one of two values
  • Coefficient — multiplicative factor involved in some term of a polynomial, a series, or an expression
  • Nothing — complete absence of anything
  • Gottlob Frege — German philosopher, logician, and mathematician
  • Finite-state machine — mathematical model of computation; abstract machine that can be in exactly one of a finite number of states at any given time
  • Luca Pacioli — Italian father of accounting (*~1445 – †1517)
  • Cosine — trigonometric function; ratio between the lengths of the adjacent side and the hypotenuse in a right triangle
  • Cubic equation — a polynomial equation in a single variable where the highest exponent of the variable is 3
  • Kalman filter — algorithm that estimates unknowns from a series of measurements over time
  • Infinite monkey theorem — humorously stated theorem that a monkey hitting keys at random on a typewriter keyboard for an infinite amount of time will surely type a given text, such as the complete works of William Shakespeare

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

This card's topics

“Fermat's little theorem” 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.