\(\text{For an odd prime p, verify that the sum}\\ \sum _{i=1}^{(p-1)}i^n= 0 \mod p \text{ or } \sum _{i=1}^{(p-1)}i^n= -1 \mod p\)
*
xD
*
-.-
*
now @Kainui and @PFEH.1999 left lol if they click on star as well no one left to solve
Check for \(n=1\).\[\sum _{i = 0}^{p-1}i = \frac{p(p-1)}{2} \equiv 0 \pmod{p}\]Maybe induction?
why not try if it works :D
thats a good idea !
since p is odd, 2|(p-1) consequently the sum is a multiple of p
Yup, but that is only \(n=1\).
that clears the base case
well trying to know which numbers divisable by p-1 is a good step
the trick part is remainder is not 0 for all \(n\)
hmm its not hard though if u tried
it is easy if you allow me to use fermat's little thm
i think its solvable with fermat :D
im still trying the induction idea though as it looks interesting
By Fermat's little thm, \(a^{p-1}\equiv 1\pmod {p}\) it follows \(a^n \equiv 1 \pmod {p}\) whenever \((p-1)|n\) so the remainder for the sum in question would be \(1 + 1+ \cdots + (\text{p-1 times}) = p-1\equiv -1 \pmod{p}\)
need to work the case when \((p-1) \not |~ n \)
yaaay
\(\)
You spelled "*" wrong.
If we're still at the induction thingy, http://en.wikipedia.org/wiki/Faulhaber%27s_formula
I'm trying to see if that formula tells us anything about divisibility.
yeah u revealed zeta :P but its ok , u can do that as well i thought using NT would be much easy to make it introduction to zeta .
what is the maximum value for \(n\)
n can be anything
OK, yes, it seems that there's an (n+1) term in every expansion. So our sum is divisible by p?
ganesh already proved case one with p-1|n it gives -1 remainder
u can mix with binomial idk there is many ways to prove its zero when p-1 dont divide n pk try this by induction
well i checked induction works with first case :D
for case 1 wolfram is giving false https://www.wolframalpha.com/input/?i=%5Csum+_%7Bi%3D1%7D%5E%7B%285-1%29%7Di%5E%7B100%7D+%28mod+5%29%3D+0+
assume p-1|n then p-1 dont divide n+1 (p-1) even so we got by fermat (1+2+3+4+.....+p-1)=p(p-1)/2 mod p=0 mod p since p-1 is even now we need to try up to n+p
@mathmath333 case 1 when p-1|n it gives -1 mod not 0 :D
when \((p-1)\not | ~n\) : Notice the bases in the sum \(B = \{1,2,3,\ldots,(p-1)\}\) are relatively prime to \(p\) Next consider an integer \(r\) which is relatively prime to \(p\) and whose order is \(p-1\) Since \(r\) is relatively prime to \(p\), the same holds for all powers of \(r\). Hence \(r^k\) is congruent to some positive integer \(\in B\) so the sum \(r^{0n}+r^{1n} + r^{2n} + \cdots + r^{n(p-2)}\) will be congruent to the sum in question. \[r^{0n}+r^{1n} + r^{2n} + \cdots + r^{n(p-2)} = \dfrac{1-r^{(p-1)n}}{1-r^n} \equiv 0 \pmod {p}\] \(\blacksquare\)
how did u get last step ?
yes yes
\[ \dfrac{1-r^{(p-1)n}}{1-r^n} \] do you agree the nujmerator is divisible by \(p\) ?
its perfect solution though :P yes
i thought u used geometric series in like inverse way maybe xD
and the denominator is not divisible by \(p\)because we assumed that \((p-1) \not | ~n\) consequently the fraction is divisible by \(p\)
ik ik how did u establish that \(r^{0n}+r^{1n} + r^{2n} + \cdots + r^{n(p-2)} = \dfrac{1-r^{(p-1)n}}{1-r^n} \)
it helps to think of the fraction like this : \[\dfrac{1-r^{(p-1)n}}{1-r^n} = \dfrac{(1-r^n)\times p\times (stuff)}{1-r^n}\]
hehe yeah amazing :D
remember this approach , will help incase u decided to learn zeta function ;)
i skipped many steps in my reply to keep it short, il be glad to try to answer if anyone has questions.. :)
teach me zeta function @Marki
maybe in a new post..
so when \(n-1| p\) it is \(-1\) and when \(n-1\not | p\) it is \(0\) ?
Exactly ^ still trying for a counter example ha :P
haha
haha wont find one its solid theorem :D
when \((p-1)|n\), the remainder is \(-1\) otherwise it is \(0\)
yes yes , btw induction works good , start from p-1 |n then check for z_(p-1) n+1 n+2 n+3 n+4 ....... up to n+p
at each time u'll gonna find geometric series which is known it divide p
some way :P
but i found @ganeshie8 solution more sense
:D thats it
induction looks neat, but i missed few replies above while cooking up the solution.. let me scroll up read them again :)
so you have induction proof for both cases ?
well u agree that DA gives all states?
so first case is p-1|n gives -1 from Fermat .. then we need to show by induction that other cases divides
or we need to show it gives 0 r -1 (ovs all gives 0)
got it ! you're inducting on n, pretty neat :)
*
lol kai its already been solved :P
I was just joking around =P
Join our real-time social learning platform and learn together with your friends!