Interactive · 1 question
Do a few numerical experiments. What is ? Hw about ? ?
What are the coefficients of ? Please write the coefficient of terms with higher degree first. Numbers are separated with a space; no extra formatting needed.
It's 1 3 3 1. For 5 it's "1 5 10 10 5 1". For 7, "1 7 21 35 35 21 7 1". What is going on with the terms between the two s? Not just being symmetrical; all the terms in between are multiples of the prime number.
Anything special with prime numbers? Sure. For 4 it's "1 4 6 4 1", where 6 is not a multiple of 4. For 6, "1 6 15 20 15 6 1". Not much are multiples of 6!
A Proof Using Binomial Theorem
We can expand with the binomial theorem, such that the coefficient of each term is for some integer . By definition, If , then .
Since is prime, it follows from Euclid's lemma that must be coprime with , and must remain one of the prime factors of . (There's another perspective using the -adic valuation on rationals, or just integers if you're careful enough.)
divides into , so all the terms with disappeared as we take modulo .
The only two terms that haven't disappear turns out to be .