Fermat's Little Theorem
Version 1.0.0 · Updated 2026-07-28
CORE DEFINITION
Fermat's little theorem is a theorem in number theory. If a is an integer and p is a prime number, then a^p - a is a multiple of p, which can be expressed as a^p ≡ a (mod p). If a is not divisible by p, then a^(p-1) ≡ 1 (mod p).
SCAFFOLDING EFFECT
Reduce cognitive load
Fermat's little theorem is a theorem in number theory. If a is an integer and p is a prime number, then a^p - a is a multiple of p, which can be expressed as a^p ≡ a (mod p).
Anchor fast decisions
Fermat's little theorem states: if p is prime and a is not divisible by p, then a^(p−1) ≡ 1 (mod p). It connects modular exponentiation with prime properties and is one of the number-theoretic foundations of modern public-key cryptography (e.g., RSA).
MINIMUM ACTION
In progress 0/1Practice this model in one real situation:
account_treeGenealogyexpand_more
menu_bookReferencesexpand_more
Source support: Explicit
- zh.wikipedia.orghttps://zh.wikipedia.org/wiki/%E8%B4%B9%E9%A9%AC%E5%B0%8F%E5%AE%9A%E7%90%86verified
PRIVATE NOTES · Only visible to you
SAVED Q&A
ENTRY Q&A · Private saving available
Ask with a clear boundary
thinkingmodels answers from published entry context only.
Your question is sent to thinkingmodels. The answer uses public entry context only.
RELATED MODELS