WordGPT

Fermat's little theorem

If p is prime and a is not a multiple of p, then apāˆ’1a^{pāˆ’1} leaves remainder 1 when divided by p. History: 1640.

How to work it out

  1. 1

    The statement:

    apāˆ’1≔1(modp)a^{p-1} \equiv 1 \pmod p
  2. 2

    If p is prime and a is not a multiple of p, then apāˆ’1a^{pāˆ’1} leaves remainder 1 when divided by p.

  3. 3

    Below, the numbers in the table are computed by this site from the definition, not copied.

LaTeX source of the formulas on this page
\[ a^{p-1} \equiv 1 \pmod p \]

a6a^{6} mod 7 for a = 1 to 6 (computed)

aa⁶a⁶ mod 7
111
2641
37291
440961
5156251
6466561

Questions

What is the fermat's little theorem?

If p is prime and a is not a multiple of p, then apāˆ’1a^{pāˆ’1} leaves remainder 1 when divided by p.

Who is the Fermat's little theorem associated with?

Pierre de Fermat.

People

More theorems

    Fermat's little theorem: statement, example and proof idea | WordGPT