Lifting-the-exponent Lemma
   HOME

TheInfoList



OR:

In elementary
number theory Number theory (or arithmetic or higher arithmetic in older usage) is a branch of pure mathematics devoted primarily to the study of the integers and integer-valued functions. German mathematician Carl Friedrich Gauss (1777–1855) said, "Mat ...
, the lifting-the-exponent (LTE) lemma provides several formulas for computing the
p-adic valuation In number theory, the valuation or -adic order of an integer is the exponent of the highest power of the prime number that divides . It is denoted \nu_p(n). Equivalently, \nu_p(n) is the exponent to which p appears in the prime factorization of ...
\nu_p of special forms of integers. The lemma is named as such because it describes the steps necessary to "lift" the exponent of p in such expressions. It is related to
Hensel's lemma In mathematics, Hensel's lemma, also known as Hensel's lifting lemma, named after Kurt Hensel, is a result in modular arithmetic, stating that if a univariate polynomial has a simple root modulo a prime number , then this root can be ''lifted'' to ...
.


Background

The exact origins of the LTE lemma are unclear; the result, with its present name and form, has only come into focus within the last 10 to 20 years.Pavardi, A. H. (2011). Lifting The Exponent Lemma (LTE). Retrieved July 11, 2020, from http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.221.5543 (Note: The old link to the paper is broken; try https://s3.amazonaws.com/aops-cdn.artofproblemsolving.com/resources/articles/lifting-the-exponent.pdf instead.) However, several key ideas used in its proof were known to
Gauss Johann Carl Friedrich Gauss (; german: Gauß ; la, Carolus Fridericus Gauss; 30 April 177723 February 1855) was a German mathematician and physicist who made significant contributions to many fields in mathematics and science. Sometimes refer ...
and referenced in his ''
Disquisitiones Arithmeticae The (Latin for "Arithmetical Investigations") is a textbook of number theory written in Latin by Carl Friedrich Gauss in 1798 when Gauss was 21 and first published in 1801 when he was 24. It is notable for having had a revolutionary impact on th ...
''. Despite chiefly featuring in mathematical olympiads, it is sometimes applied to research topics, such as
elliptic curves In mathematics, an elliptic curve is a smooth, projective, algebraic curve of genus one, on which there is a specified point . An elliptic curve is defined over a field and describes points in , the Cartesian product of with itself. If t ...
.


Statements

For any integers x, y, a positive integer n, and a prime number p such that p \nmid x and p \nmid y, the following statements hold: * When p is odd: ** If p \mid x-y, then \nu_p(x^n-y^n) = \nu_p(x-y)+\nu_p(n). ** If n is odd and p \mid x+y, then \nu_p(x^n+y^n) = \nu_p(x+y)+\nu_p(n). * When p = 2: ** If 2 \mid x-y and n is even, then \nu_2(x^n-y^n) = \nu_2(x-y)+\nu_2(x+y)+\nu_2(n)-1. ** If 2 \mid x-y and n is odd, then \nu_2(x^n-y^n) = \nu_2(x-y). (Follows from the general case below.) ** Corollary: *** If 4 \mid x-y, then \nu_2(x+y)=1 and thus \nu_2(x^n-y^n) = \nu_2(x-y)+\nu_2(n). * For all p: ** If \gcd(n,p) = 1 and p \mid x-y, then \nu_p(x^n-y^n) = \nu_p(x-y). ** If \gcd(n,p) = 1, p \mid x+y and n odd, then \nu_p(x^n+y^n) = \nu_p(x+y).


Outline of proof


Base case

The base case \nu_p(x^n-y^n) = \nu_p(x-y) when \gcd(n,p) = 1 is proven first. Because p \mid x-y \iff x \equiv y \pmod, : x^+x^y+x^y^2+\dots+y^ \equiv nx^ \not\equiv 0 \pmod\ (1) The fact that x^n-y^n = (x-y)(x^+x^y+x^y^2+\dots+y^) completes the proof. The condition \nu_p(x^n+y^n) = \nu_p(x+y) for odd n is similar.


General case (odd ''p'')

Via the
binomial expansion In elementary algebra, the binomial theorem (or binomial expansion) describes the algebraic expansion of powers of a binomial. According to the theorem, it is possible to expand the polynomial into a sum involving terms of the form , where the ...
, the substitution y = x+kp can be used in (1) to show that \nu_p(x^p-y^p) = \nu_p(x-y)+1 because (1) is a multiple of p but not p^2. Likewise, \nu_p(x^p+y^p) = \nu_p(x+y)+1. Then, if n is written as p^ab where p \nmid b, the base case gives \nu_p(x^n-y^n) = \nu_p((x^)^b-(y^)^b) = \nu_p(x^-y^). By induction on a, : \begin \nu_p(x^-y^) &= \nu_p(((\dots(x^p)^p\dots))^p-((\dots(y^p)^p\dots))^p)\ \text a \text \\ &= \nu_p(x-y)+a \end A similar argument can be applied for \nu_p(x^n+y^n).


General case (''p'' = 2)

The proof for the odd p case cannot be directly applied when p = 2 because the binomial coefficient \binom = \frac is only an integral multiple of p when p is odd. However, it can be shown that \nu_2(x^n-y^n) = \nu_2(x-y)+\nu_2(n) when 4 \mid x-y by writing n = 2^ab where a and b are integers with b odd and noting that : \begin \nu_2(x^n-y^n) &= \nu_2((x^)^b-(y^)^b) \\ &= \nu_2(x^-y^) \\ &= \nu_2((x^+y^)(x^+y^)\cdots(x^2+y^2)(x+y)(x-y)) \\ &= \nu_2(x-y)+a \end because since x \equiv y \equiv \pm 1 \pmod, each factor in the difference of squares step in the form x^+y^ is congruent to 2 modulo 4. The stronger statement \nu_2(x^n-y^n) = \nu_2(x-y)+\nu_2(x+y)+\nu_2(n)-1 when 2 \mid x-y is proven analogously.


In competitions


Example problem

The LTE lemma can be used to solve 2020 AIME I #12:
Let n be the least positive integer for which 149^n-2^n is divisible by 3^3\cdot5^5\cdot7^7. Find the number of positive integer divisors of n.''2020 AIME I Problems.'' (2020). Art of Problem Solving. Retrieved July 11, 2020, from https://artofproblemsolving.com/wiki/index.php/2020_AIME_I_Problems
Solution. Note that 149-2 = 147 = 3\cdot 7^2. Using the LTE lemma, since 3 \nmid 149 and 2 but 3 \mid 147, \nu_3(149^n-2^n) = \nu_3(147)+\nu_3(n) = \nu_3(n)+1. Thus, 3^3 \mid 149^n-2^n \iff 3^2 \mid n. Similarly, 7 \nmid 149,2 but 7 \mid 147, so \nu_7(149^n-2^n) = \nu_7(147)+\nu_7(n) = \nu_7(n)+2 and 7^7 \mid 149^n-2^n \iff 7^5 \mid n. Since 5 \nmid 147, the factors of 5 are addressed by noticing that since the residues of 149^n modulo 5 follow the cycle 4,1,4,1 and those of 2^n follow the cycle 2,4,3,1, the residues of 149^n-2^n modulo 5 cycle through the sequence 2,2,1,0. Thus, 5 \mid 149^n-2^n iff n = 4k for some positive integer k. The LTE lemma can now be applied again: \nu_5(149^-2^) = \nu_5((149^4)^k-(2^4)^k) = \nu_5(149^4-2^4)+\nu_5(k). Since 149^4-2^4 \equiv (-1)^4-2^4 \equiv -15 \pmod{25}, \nu_5(149^4-2^4) = 1. Hence 5^5 \mid 149^n-2^n \iff 5^4 \mid k \iff 4\cdot 5^4 \mid n. Combining these three results, it is found that n = 2^2\cdot 3^2\cdot 5^4\cdot 7^5, which has (2+1)(2+1)(4+1)(5+1) = 270 positive divisors.


References

Lemmas in number theory