Power and congruence

For discussing Olympiad Level Number Theory problems
User avatar
Thanic Nur Samin
Posts:176
Joined:Sun Dec 01, 2013 11:02 am
Power and congruence

Unread post by Thanic Nur Samin » Wed Feb 12, 2014 7:55 pm

Let $p$ be an odd prime.Prove that,$1^i+2^i+...(p-1)^i\equiv0 \pmod p$ For every $i$ from $0$ to $p-2$
Hammer with tact.

Because destroying everything mindlessly isn't cool enough.

mutasimmim
Posts:107
Joined:Sun Dec 12, 2010 10:46 am

Re: Power and congruence

Unread post by mutasimmim » Thu Mar 27, 2014 11:03 pm

What about $p=3$ and $i=0$ ?

User avatar
Phlembac Adib Hasan
Posts:1016
Joined:Tue Nov 22, 2011 7:49 pm
Location:127.0.0.1
Contact:

Re: Power and congruence

Unread post by Phlembac Adib Hasan » Fri Mar 28, 2014 7:34 pm

mutasimmim wrote:What about $p=3$ and $i=0$ ?
I think he did a typo. The bound should be $1\leq i\leq p- 2$.

There is a easy solution by induction. Define \[S_i = \sum^{p-1}_{j=1}j^i\] Firstly note $p|S_1= p\cdot \frac {p-1}2$. Now prove that for $i\ge 2$, we have
\[p^{i+1}-p=\binom{i+1}iS_i+\sum ^{i-1}_{j=1}\binom {i+1} j S_j\]
From inductive hypothesis, $p$ divides every $S_j$. So it follows $p|S_i$ since $p\not | \binom{i+1}i$
Welcome to BdMO Online Forum. Check out Forum Guides & Rules

Post Reply