ArticleslgStudy

mathematics

Fermat quotient

Fermat quotient is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Fermat quotient rather than just read about it. In short: In number theory, the Fermat quotient of an integer a with respect to an odd prime p is defined as qp(a)=ap−1−1p, or δp(a)=a−app. This article is about the former; for the latter see p-derivation.

Key takeaways

  • Fermat quotient belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Fermat quotient to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Fermat quotient from memory before moving on to harder problems.

Reference excerpt

In number theory, the Fermat quotient of an integer a with respect to an odd prime p is defined as

qp(a)=ap−1−1p, or

δp(a)=a−app. This article is about the former; for the latter see p-derivation. The quotient is named after Pierre de Fermat. If the base a is coprime to the exponent p then Fermat's little theorem says that qp(a) will be an integer. If the base a is also a generator of the multiplicative group of integers modulo p, then qp(a) will be a cyclic number, and p will be a full reptend prime.

Properties From the definition, it is obvious that

qp(1)≡0(modp)qp(−a)≡qp(a)(modp)(since 2∣p−1) In 1850, Gotthold Eisenstein proved that if a and b are both coprime to p, then:

qp(ab)≡qp(a)+qp(b)(modp)qp(ar)≡rqp(a)(modp)qp(p∓a)≡qp(a)±1a(modp)qp(p∓1)≡±1(modp) Eisenstein likened the first two of these congruences to properties of logarithms. These properties imply

qp(1a)≡−qp(a)(modp)qp(ab)≡qp(a)−qp(b)(modp) In 1895, Dmitry Mirimanoff pointed out that an iteration of Eisenstein's rules gives the corollary:

qp(a+np)≡qp(a)−n⋅1a(modp). From this, it follows that:

qp(a+np2)≡qp(a)(modp).

Lerch's formula M. Lerch proved in 1905 that

∑j=1p−1qp(j)≡Wp(modp). Here Wp is the Wilson quotient.

Special values Eisenstein discovered that the Fermat quotient with base 2 could be expressed in terms of the sum of the reciprocals modulo p of the numbers lying in the first half of the range {1, ..., p − 1}:

−2qp(2)≡∑k=1p−121k(modp). Later writers showed that the number of terms required in such a representation could be reduced from 1/2 to 1/4, 1/5, or even 1/6:

−3qp(2)≡∑k=1⌊p4⌋1k(modp). 4qp(2)≡∑k=⌊p10⌋+1⌊2p10⌋1k+∑k=⌊3p10⌋+1⌊4p10⌋1k(modp). 2qp(2)≡∑k=⌊p6⌋+1⌊p3⌋1k(modp). Eisenstein's series also has an increasingly complex connection to the Fermat quotients with other bases, the first few examples being:

−3qp(3)≡2∑k=1⌊p3⌋1k(modp). −5qp(5)≡4∑k=1⌊p5⌋1k+2∑k=⌊p5⌋+1⌊2p5⌋1k(modp).

Generalized Wieferich primes If qp(a) ≡ 0 (mod p) then ap−1 ≡ 1 (mod p2). Primes for which this is true for a = 2 are called Wieferich primes. In general they are called Wieferich primes base a. Known solutions of qp(a) ≡ 0 (mod p) for small values of a are:

For more information, see and. The smallest solutions of qp(a) ≡ 0 (mod p) with a = n are:

2, 1093, 11, 1093, 2, 66161, 5, 3, 2, 3, 71, 2693, 2, 29, 29131, 1093, 2, 5, 3, 281, 2, 13, 13, 5, 2, 3, 11, 3, 2, 7, 7, 5, 2, 46145917691, 3, 66161, 2, 17, 8039, 11, 2, 23, 5, 3, 2, 3, ... (sequence A039951 in the OEIS) A pair (p, r) of prime numbers such that qp(r) ≡ 0 (mod p) and qr(p) ≡ 0 (mod r) is called a Wieferich pair.

References

External links Gottfried Helms. Fermat-/Euler-quotients (ap-1 – 1)/pk with arbitrary k. Richard Fischer. Fermat quotients B^(P-1) == 1 (mod P^2).

Worked examples

Example 1 — a first encounter with Fermat quotient

Start with the simplest possible case. Write down what Fermat quotient claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Fermat quotient before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Fermat quotient ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Fermat quotient

In research
Fermat quotient appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Fermat quotient in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Fermat quotient is common in secondary-school and first-year university syllabi. It links to neighbouring topics Number theory, Pierre de Fermat, so understanding it makes those chapters shorter.
In everyday life
Look for Fermat quotient outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Fermat quotient” →

How to study Fermat quotient in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Fermat quotient means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Fermat quotient out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Fermat quotient in simple terms?

In number theory, the Fermat quotient of an integer a with respect to an odd prime p is defined as qp(a)=ap−1−1p, or δp(a)=a−app. This article is about the former; for the latter see p-derivation.

Why does Fermat quotient matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Fermat quotient?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Fermat quotient.

Tags

  • Number theory
  • Pierre de Fermat

Keep exploring