I am faced with the following question in my undergraduate Number Theory textbook:
Use the coefficient of x on both sides of (*) to prove that if p $\ge$ 3, then p divides a and $\frac{a}{b}$ = $ 1+ \frac{1}{2}$ + $\frac{1}{3}$ + ... + $\frac{1}{p-1}$.
(*) xp-1 -1 $\equiv$ (x+1)(x+2)...(x+p-1) (poly mod n)
The equation (*) was given in the proof of Wilson's Theorem.
So far, the only thing I can think of is to reduce (*) to $-1 \equiv (1)(2)(3)...(p-1)$. I am also thinking maybe this has something to do with 1,2,..,p-1 being a complete residue system?
Any help would be super appreciated, thank you!
By saying $-1\equiv (1)(2)\dotsc$ etc. you are looking at the constant term of (*).
Why not look at other terms (e.g. the coefficient before $x$)?