Prove that:
pn∑r=1pngcd(pn,r)=2n∑k=0(−1)kp2n−k=p2n−p2n−1+p2n−2−...+p2n−2n
I'm not exactly sure how to do this unless I can say:
Assume ∑pnr=1pngcd(pn,r) = ∑2nk=0(−1)kp2n−k
and show by induction that the sums equal each other and show the inductive step that you can take the expanded sum part with n+1 and get to ∑2n+1k=0(−1)kp2(n+1)−k
However, I'm not even sure that I am allowed to do this.. Any suggestion in how to prove this? I'm not looking for a whole proof just a push in the direction of how to solve this.
Answer
First note that gcd(pn,r) for r=¯1,pn must be of the form pk with k∈¯0,n, and for each k there is exactly ϕ(pn−k) numbers with that property in ¯1,pn so:
pn∑r=1pngcd(pn,r)=n∑k=0pnpkϕ(pn−k)=1+n−1∑k=0pnpkpn−k(1−1p)=1+n−1∑k=0p2(n−k)(1−1p)=2n∑k=0(−1)kp2n−k◻
For the last equality:
n−1∑k=0p2(n−k)(1−1p)=n−1∑k=0(p2(n−k)−p2(n−k)−1)=n−1∑k=0((−1)2(n−k)p2(n−k)+(−1)2(n−k)−1p2(n−k)−1)=2n−1∑i=0(−1)ip2n−i
No comments:
Post a Comment