Fermat quotient

Last updated

In number theory, the Fermat quotient of an integer a with respect to an odd prime p is defined as [1] [2] [3] [4]

Contents

or

.

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

In 1850, Gotthold Eisenstein proved that if a and b are both coprime to p, then: [5]

Eisenstein likened the first two of these congruences to properties of logarithms. These properties imply

In 1895, Dmitry Mirimanoff pointed out that an iteration of Eisenstein's rules gives the corollary: [6]

From this, it follows that: [7]

Lerch's formula

M. Lerch proved in 1905 that [8] [9] [10]

Here 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, ..., p1}:

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:

[11]
[12]
[13] [14]

Eisenstein's series also has an increasingly complex connection to the Fermat quotients with other bases, the first few examples being:

[15]
[16]

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: [2]

ap (checked up to 5 × 1013) OEIS sequence
12, 3, 5, 7, 11, 13, 17, 19, 23, 29, ... (All primes) A000040
21093, 3511 A001220
311, 1006003 A014127
41093, 3511
52, 20771, 40487, 53471161, 1645333507, 6692367337, 188748146801 A123692
666161, 534851, 3152573 A212583
75, 491531 A123693
83, 1093, 3511
92, 11, 1006003
103, 487, 56598313 A045616
1171
122693, 123653 A111027
132, 863, 1747591 A128667
1429, 353, 7596952219 A234810
1529131, 119327070011 A242741
161093, 3511
172, 3, 46021, 48947, 478225523351 A128668
185, 7, 37, 331, 33923, 1284043 A244260
193, 7, 13, 43, 137, 63061489 A090968
20281, 46457, 9377747, 122959073 A242982
212
2213, 673, 1595813, 492366587, 9809862296159 A298951
2313, 2481757, 13703077, 15546404183, 2549536629329 A128669
245, 25633
252, 20771, 40487, 53471161, 1645333507, 6692367337, 188748146801
263, 5, 71, 486999673, 6695256707
2711, 1006003
283, 19, 23
292
307, 160541, 94727075783

For more information, see [17] [18] [19] and. [20]

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.

Related Research Articles

<span class="mw-page-title-main">Chinese remainder theorem</span> Theorem for solving simultaneous congruences

In mathematics, the Chinese remainder theorem states that if one knows the remainders of the Euclidean division of an integer n by several integers, then one can determine uniquely the remainder of the division of n by the product of these integers, under the condition that the divisors are pairwise coprime.

In number theory, the Legendre symbol is a multiplicative function with values 1, −1, 0 that is a quadratic character modulo of an odd prime number p: its value at a (nonzero) quadratic residue mod p is 1 and at a non-quadratic residue (non-residue) is −1. Its value at zero is 0.

<span class="mw-page-title-main">Quadratic reciprocity</span> Gives conditions for the solvability of quadratic equations modulo prime numbers

In number theory, the law of quadratic reciprocity is a theorem about modular arithmetic that gives conditions for the solvability of quadratic equations modulo prime numbers. Due to its subtlety, it has many formulations, but the most standard statement is:

In number theory, Fermat's little theorem states that if p is a prime number, then for any integer a, the number apa is an integer multiple of p. In the notation of modular arithmetic, this is expressed as

In mathematics, a Fermat number, named after Pierre de Fermat, the first known to have studied them, is a positive integer of the form

This article collects together a variety of proofs of Fermat's little theorem, which states that

In number theory, Euler's criterion is a formula for determining whether an integer is a quadratic residue modulo a prime. Precisely,

In number theory, a Wieferich prime is a prime number p such that p2 divides 2p − 1 − 1, therefore connecting these primes with Fermat's little theorem, which states that every odd prime p divides 2p − 1 − 1. Wieferich primes were first described by Arthur Wieferich in 1909 in works pertaining to Fermat's Last Theorem, at which time both of Fermat's theorems were already well known to mathematicians.

In number theory, a Wall–Sun–Sun prime or Fibonacci–Wieferich prime is a certain kind of prime number which is conjectured to exist, although none are known.

In number theory, the Ankeny–Artin–Chowla congruence is a result published in 1953 by N. C. Ankeny, Emil Artin and S. Chowla. It concerns the class number h of a real quadratic field of discriminant d > 0. If the fundamental unit of the field is

The Solovay–Strassen primality test, developed by Robert M. Solovay and Volker Strassen in 1977, is a probabilistic test to determine if a number is composite or probably prime. The idea behind the test was discovered by M. M. Artjuhov in 1967 (see Theorem E in the paper). This test has been largely superseded by the Baillie–PSW primality test and the Miller–Rabin primality test, but has great historical importance in showing the practical feasibility of the RSA cryptosystem. The Solovay–Strassen test is essentially an Euler–Jacobi probable prime test.

In mathematics, Wolstenholme's theorem states that for a prime number , the congruence

In additive number theory, Fermat's theorem on sums of two squares states that an odd prime p can be expressed as:

The Wilson quotientW(p) is defined as:

Gauss's lemma in number theory gives a condition for an integer to be a quadratic residue. Although it is not useful computationally, it has theoretical significance, being involved in some proofs of quadratic reciprocity.

In number theory, a branch of mathematics, a Mirimanoff's congruence is one of a collection of expressions in modular arithmetic which, if they hold, entail the truth of Fermat's Last Theorem. Since the theorem has now been proven, these are now of mainly historical significance, though the Mirimanoff polynomials are interesting in their own right. The theorem is due to Dmitry Mirimanoff.

In number theory, the law of quadratic reciprocity, like the Pythagorean theorem, has lent itself to an unusually large number of proofs. Several hundred proofs of the law of quadratic reciprocity have been published.

Quartic or biquadratic reciprocity is a collection of theorems in elementary and algebraic number theory that state conditions under which the congruence x4p is solvable; the word "reciprocity" comes from the form of some of these theorems, in that they relate the solvability of the congruence x4p to that of x4q.

In number theory, a Wolstenholme prime is a special type of prime number satisfying a stronger version of Wolstenholme's theorem. Wolstenholme's theorem is a congruence relation satisfied by all prime numbers greater than 3. Wolstenholme primes are named after mathematician Joseph Wolstenholme, who first described this theorem in the 19th century.

In algebraic number theory Eisenstein's reciprocity law is a reciprocity law that extends the law of quadratic reciprocity and the cubic reciprocity law to residues of higher powers. It is one of the earliest and simplest of the higher reciprocity laws, and is a consequence of several later and stronger reciprocity laws such as the Artin reciprocity law. It was introduced by Eisenstein, though Jacobi had previously announced a similar result for the special cases of 5th, 8th and 12th powers in 1839.

References

  1. Weisstein, Eric W. "Fermat Quotient". MathWorld .
  2. 1 2 "The Prime Glossary: Fermat quotient". t5k.org. Retrieved 2024-03-16.
  3. Paulo Ribenboim, 13 Lectures on Fermat's Last Theorem (1979), especially pp. 152, 159-161.
  4. Paulo Ribenboim, My Numbers, My Friends: Popular Lectures on Number Theory (2000), p. 216.
  5. Gotthold Eisenstein, "Neue Gattung zahlentheoret. Funktionen, die v. 2 Elementen abhangen und durch gewisse lineare Funktional-Gleichungen definirt werden," Bericht über die zur Bekanntmachung geeigneten Verhandlungen der Königl. Preuß. Akademie der Wissenschaften zu Berlin 1850, 36-42
  6. Dmitry Mirimanoff, "Sur la congruence (rp − 1 − 1):p = qr (mod p)," Journal für die reine und angewandte Mathematik115 (1895): 295-300
  7. Paul Bachmann, Niedere Zahlentheorie, 2 vols. (Leipzig, 1902), 1:159.
  8. Lerch, Mathias (1905). "Zur Theorie des Fermatschen Quotienten ". Mathematische Annalen. 60: 471–490. doi:10.1007/bf01561092. hdl: 10338.dmlcz/120531 . S2CID   123353041.
  9. Sondow, Jonathan (2014). "Lerch quotients, Lerch primes, Fermat-Wilson quotients, and the Wieferich-non-Wilson primes 2, 3, 14771". arXiv: 1110.3113 [math.NT].
  10. Sondow, Jonathan; MacMillan, Kieren (2011). "Reducing the Erdős-Moser equation modulo and ". arXiv: 1011.2154 [math.NT].
  11. James Whitbread Lee Glaisher, "On the Residues of rp 1 to Modulus p2, p3, etc.," Quarterly Journal of Pure and Applied Mathematics32 (1901): 1-27.
  12. Ladislav Skula, "A note on some relations among special sums of reciprocals modulo p," Mathematica Slovaca58 (2008): 5-10.
  13. Emma Lehmer, "On Congruences involving Bernoulli Numbers and the Quotients of Fermat and Wilson," Annals of Mathematics39 (1938): 350–360, pp. 356ff.
  14. Karl Dilcher and Ladislav Skula, "A New Criterion for the First Case of Fermat's Last Theorem," Mathematics of Computation64 (1995): 363-392.
  15. James Whitbread Lee Glaisher, "A General Congruence Theorem relating to the Bernoullian Function," Proceedings of the London Mathematical Society33 (1900-1901): 27-56, at pp. 49-50.
  16. Mathias Lerch, "Zur Theorie des Fermatschen Quotienten…," Mathematische Annalen60 (1905): 471-490.
  17. Wieferich primes to bases up to 1052
  18. "Wieferich.txt primes to bases up to 10125". Archived from the original on 2014-07-29. Retrieved 2014-07-22.
  19. Wieferich prime in prime bases up to 1000 Archived 2014-08-09 at the Wayback Machine
  20. Wieferich primes with level >= 3