Lifting the Exponent Lemma

Content

The Lift the Exponent (LTE) lemma is a theorem commonly used in elementary number theory.

Define νp(n)\nu_p(n) as the exponent of the prime factor pp in the standard factorization of integer nn; that is, νp(n)\nu_p(n) satisfies pνp(n)∣np^{\nu_p(n)}\mid n and pνp(n)+1∤np^{\nu_p(n)+1}\nmid n.

Because the LTE lemma is lengthy, we divide it into three parts:

In what follows, let pp be prime, let x,yx,y be integers satisfying p∤xp\nmid x and p∤yp\nmid y, and let nn be a positive integer.

Part I

For every prime pp and integer nn satisfying (n,p)=1(n,p)=1:

  1. If p∣x−yp\mid x-y, then:

    νp(xn−yn)=νp(x−y)\nu_p\left(x^n-y^n\right)=\nu_p(x-y)
  2. If p∣x+yp\mid x+y, then for odd nn:

    νp(xn+yn)=νp(x+y)\nu_p\left(x^n+y^n\right)=\nu_p(x+y)
Proof

If p∣x−yp\mid x-y, then it is easy to see that p∣x−y  ⟺  x≡y(modp)p\mid x-y\iff x\equiv y\pmod p, so clearly:

∑i=0n−1xiyn−1−i≡nxn−1≢0(modp)\sum_{i=0}^{n-1}x^iy^{n-1-i}\equiv nx^{n-1}\not\equiv 0\pmod p

It follows from xn−yn=(x−y)∑i=0n−1xiyn−1−ix^n-y^n=(x-y)\sum_{i=0}^{n-1}x^iy^{n-1-i} that the statement is proved.

The case p∣x+yp\mid x+y is proved similarly.

Part II

If pp is an odd prime:

  1. If p∣x−yp\mid x-y, then:

    νp(xn−yn)=νp(x−y)+νp(n)\nu_p\left(x^n-y^n\right)=\nu_p(x-y)+\nu_p(n)
  2. If p∣x+yp\mid x+y, then for odd nn:

    νp(xn+yn)=νp(x+y)+νp(n)\nu_p\left(x^n+y^n\right)=\nu_p(x+y)+\nu_p(n)
Proof

If p∣x−yp\mid x-y, let y=x+kpy=x+kp; we only need to prove the case p∣np\mid n.

  • If n=pn=p, then by the binomial theorem:

    ∑i=0p−1xp−1−iyi=∑i=0p−1xp−1−i∑j=0i(ij)xj(kp)i−j≡pxp−1(modp2)\begin{aligned} \sum_{i=0}^{p-1}x^{p-1-i}y^i&=\sum_{i=0}^{p-1}x^{p-1-i}\sum_{j=0}^i\binom{i}{j}x^j(kp)^{i-j}\\ &\equiv px^{p-1} \pmod{p^2}\\ \end{aligned}

    Therefore:

    νp(xn−yn)=νp(x−y)+1\nu_p\left(x^n-y^n\right)=\nu_p(x-y)+1
  • If n=pan=p^a, mathematical induction gives:

    νp(xn−yn)=νp(x−y)+a\nu_p\left(x^n-y^n\right)=\nu_p(x-y)+a

Therefore, the statement is proved.

The case p∣x+yp\mid x+y is proved similarly.

Part III

If p=2p=2 and p∣x−yp\mid x-y:

  1. For odd nn (the same as item 1 of Part I):

    νp(xn−yn)=νp(x−y)\nu_p\left(x^n-y^n\right)=\nu_p(x-y)
  2. For even nn:

    νp(xn−yn)=νp(x−y)+νp(x+y)+νp(n)−1\nu_p\left(x^n-y^n\right)=\nu_p(x-y)+\nu_p(x+y)+\nu_p(n)-1

In addition, for the above x,y,nx,y,n, we have:

If 4∣x−y4\mid x-y, then:

  • ν2(x+y)=1\nu_2(x+y)=1
  • ν2(xn−yn)=ν2(x−y)+ν2(n)\nu_2\left(x^n-y^n\right)=\nu_2(x-y)+\nu_2(n)
Proof

We only need to prove the case where nn is even. Since p∤(p2)p\nmid \dbinom{p}{2} in this case, we cannot use the method from Part II.

Let n=2abn=2^a b, where a=νp(n)a=\nu_p(n) and 2∤b2\nmid b. Then:

νp(xn−yn)=νp(x2a−y2a)=νp((x−y)(x+y)∏i=1a−1(x2i+y2i))\begin{aligned} \nu_p\left(x^n-y^n\right)&=\nu_p\left(x^{2^a}-y^{2^a}\right)\\ &=\nu_p\left((x-y)(x+y)\prod_{i=1}^{a-1}\left(x^{2^i}+y^{2^i}\right)\right) \end{aligned}

Note that 2∣x−y  ⟹  4∣x2−y22\mid x-y\implies 4\mid x^2-y^2, so (∀i≥1),  x2i+y2i≡2(mod4)(\forall i\geq 1),~~x^{2^i}+y^{2^i}\equiv 2\pmod 4. Thus the equation above becomes:

νp(xn−yn)=νp(x−y)+νp(x+y)+νp(n)−1\nu_p\left(x^n-y^n\right)=\nu_p(x-y)+\nu_p(x+y)+\nu_p(n)-1

Therefore, the statement is proved.

References

  1. Lifting-the-exponent lemma - Wikipedia

This content comes from OI Wiki: Lifting the Exponent Lemma. See the original for authors and revision history. AIOJ has adapted the formatting, in-site links, and resource paths.

Content is shared under CC BY-SA 4.0 and SATA license; additional terms are governed by the original notice. Thanks to the OI Wiki authors and contributors; per the SATA terms, please visit the OI Wiki repository and star it to show your support.