Let p be a prime number.

What is the value of 1 + 2 + 3 +......+(p-1) (mod p)

How would I begin to work this problem?

Printable View

- June 14th 2008, 08:45 AMduggaboypowers modulo p and primitive root question
Let p be a prime number.

What is the value of 1 + 2 + 3 +......+(p-1) (mod p)

How would I begin to work this problem? - June 14th 2008, 09:26 AMIsomorphism
- June 14th 2008, 09:57 AMduggaboy
ok is the idea here that p + p +...+p (modp) =0 because the modulo and the prime number are the same its always eqaul to zero? I'm a little confused why we want it to equal 0....

Thank you so very much : ) - June 14th 2008, 10:00 AMIsomorphism
- June 14th 2008, 07:02 PMThePerfectHacker
- June 16th 2008, 10:57 AMduggaboy
ok....so if k =2 then we it would be....

1^2 + 2^2 + 3^2 +....+(p-1)^2

(p-1)(p+1)/2p ??

Or would you have to use another approach?? Ultimately you still want 0 mod p right? - June 16th 2008, 11:13 AMThePerfectHacker
- June 16th 2008, 11:57 AMduggaboy
n n n

phi(p) = (p - 1) * p 1 * (p - 1) * p 2 ... (p - 1) * p k

1 1 2 2 k k

phi(p) = p-1.

Somthing like this? to get 0 mod p

how would you handle this one? I am very interested in findining out