新手梦想(弗罗贝尼乌斯):展开 $(x+1)^p$ mod $p$

Interactive · 1 question

(x+1)pmod  p≡xp+1(x+1)^p \mod{p} \equiv x^p+1

Do a few numerical experiments. What is (x+1)2(x+1)^2? Hw about (x+1)3(x+1)^3? (x+1)5(x+1)^5?

What are the coefficients of (x+1)3(x+1)^3? Please write the coefficient of terms with higher degree first. Numbers are separated with a space; no extra formatting needed.

Read · 1 min

Show that for all nn, (x+1)pn≡xpn+1(modp)(x + 1)^{p^n} \equiv x^{p^n} + 1\pmod{p}

Solution:

It suffices to show that the coefficients of xkx^k for k∈(0,pn)k\in(0,p^n) for (x+1)pn(x+1)^{p^n} is a multiple of pp. It is obvious since pn−1Ck^{p^n-1}C_k is an integer pnCk ⋅pnpn−k^{p^n}C_k\ \cdot\frac{p^n}{p^n-k} which means it has a higher pp-order than pn−1Ck^{p^n-1}C_k.

Read · 1 min

Taylor expansion derivation of the freshman's dream

The freshman's dream is equivalent to the coefficient-wise congruence xp−1≡(x−1)p(modp),x^p - 1 \equiv (x-1)^p \pmod{p}, meaning when you compare both sides in standard form, the coefficients should be the same modulo pp.

One way to prove the polynomial congruence above is to re-center f(x)=xp−1f(x) = x^p - 1 from 00 to 11, using powers of x−1x-1 instead of x−0x-0. By the binomial theorem applied to xp=[(x−1)+1]px^p = [(x-1) + 1]^p, we know f(x)=xp−1=a0+a1(x−1)+⋯+ap(x−1)pf(x) = x^p - 1 = a_0 + a_1(x-1) + \dots + a_p(x-1)^p for some integers a0,a1,…,apa_0,a_1,\dots,a_p, and we'd like to show that a0,a1,…,ap−1a_0,a_1,\dots,a_{p-1} are divisible by pp while ap≡1(modp)a_p\equiv1\pmod{p}. In fact, by comparing leading coefficients, ap=1a_p = 1, so the only difficulty is the divisibility statement.

We can do this using derivatives. First, f(1)=0f(1) = 0, so a0=0a_0 = 0. Next, f′(n)=pnp−1≡0(modp)f'(n) = pn^{p-1} \equiv 0\pmod{p} for integers nn, so f′(1)≡0(modp)f'(1) \equiv 0\pmod{p}, meaning 1!a1=f′(1)≡0(modp).1! a_1 = f'(1) \equiv 0\pmod{p}.

Proceeding in this way, we find that k!ak=f(k)(1)≡0(modp)k! a_k = f^{(k)}(1) \equiv 0\pmod{p} for all positive integers kk. Now, p∤k!p\nmid k! as long as k≤p−1k\leq p-1, so we get ak≡0(modp)a_k \equiv 0\pmod{p} by Euclid's lemma, as desired.

Read · 1 min

Proof of the freshman's dream using xp−xx^p - x factorization modulo pp

From here we know that with coefficients interpreted modulo pp, the polynomial xp−xx^p - x factors as A(x):=(x−1)(x−2)…(x−p)(modp),A(x) := (x-1)(x-2)\dots(x-p) \pmod{p}, meaning when you compare xp−xx^p - x and A(x)A(x) in standard form, the coefficients should be the same modulo pp.

But replacing xx by x+1x+1, that means (x+1)p−(x+1)(x+1)^p - (x+1) factors as A(x+1)=x(x−1)…(x−(p−1))(modp).A(x+1) = x(x-1)\dots(x-(p-1)) \pmod{p}.

Yet x≡x−p(modp)x \equiv x-p \pmod{p}, so A(x+1)≡(x−p)(x−1)…(x−(p−1))=(x−1)…(x−(p−1))(x−p)=A(x)(modp),\begin{align*} A(x+1) &\equiv (x-p)(x-1)\dots(x-(p-1)) \\ &= (x-1)\dots(x-(p-1))(x-p) \\ &= A(x)\pmod{p}, \end{align*} meaning that (x+1)p−(x+1)≡A(x+1)≡A(x)≡xp−x(modp),(x+1)^p - (x+1) \equiv A(x+1) \equiv A(x) \equiv x^p - x\pmod{p}, which rearranges to (x+1)p≡xp+1(modp),(x+1)^p \equiv x^p + 1\pmod{p}, as desired.

Reflection

The key point in the argument above is that {1,2,…,p}\{1,2,\dots,p\} is a complete residue system modulo pp, so when we translate it by ±1\pm1 it remains the same modulo pp (it's still a complete residue system).

Type a concept, like “slope” or “photosynthesis”.

↑ ↓ to choose · Enter to openSearch explanations and problems