New Reply

Test Tomorrow.....Help!!!....Fermat's Little Theroem

 
Share Thread Thread Tools
Feb27-12, 08:46 PM   #1
 

Test Tomorrow.....Help!!!....Fermat's Little Theroem


Prove that if "p" is an odd prime, then

a) 1p-1+2p-1+.....+(p-1)p-1 "is congruent" to -1(mod p)

attempt: Well I know from Fermat's little theorem, that all the constants on the left hand side will reduce to 1's:

1 + 1 + 1...........1 (is congruent to) -1 (mod p).

I know there is just a small step to conclude this, but I can't figure it out.

b) 1p+2p+.....+(p-1)p (congruent to) 0 (mod p) (Hint: it may be useful to show: 1+2+....+(p-1) = p(p-1) / 2

Kinda lost with this one sad thing is I got help with it today...smh.
PhysOrg.com
PhysOrg
science news on PhysOrg.com

>> Ants and carnivorous plants conspire for mutualistic feeding
>> Forecast for Titan: Wild weather could be ahead
>> Researchers stitch defects into the world's thinnest semiconductor
Feb27-12, 08:59 PM   #2
 
Just count the ones =)
Feb27-12, 09:03 PM   #3
 
Quote by Ansatz7 View Post
Just count the ones =)
What do you mean?...If I count the ones on the LHS, I will have p-1 of them, but that would make it congruent to 1(mod p) not -1(mod p)
Feb27-12, 09:04 PM   #4
 

Test Tomorrow.....Help!!!....Fermat's Little Theroem


Quote by trap101 View Post
What do you mean?...If I count the ones on the LHS, I will have p-1 of them, but that would make it congruent to 1(mod p) not -1(mod p)
That's not true...
Feb27-12, 09:16 PM   #5
 
Ok, well if I add up all the ones I would have some sort of sum 1(p-1) which would leave me with (p-1) congruent to ____ (mod p), but the only "something" i could fathom would be "1"
Feb27-12, 09:19 PM   #6
 
I don't think you understand the concept of congruence. Go back to the definition. What does it mean for a to be congruent to b mod p?
Feb27-12, 09:22 PM   #7
 
a = pk + b for some constant k, or p|a-b
Feb27-12, 09:23 PM   #8
 
Recognitions:
Gold Membership Gold Member
Science Advisor Science Advisor
Retired Staff Staff Emeritus
Quote by trap101 View Post
Ok, well if I add up all the ones I would have some sort of sum 1(p-1) which would leave me with (p-1) congruent to ____ (mod p), but the only "something" i could fathom would be "1"
Seriously? p- 1 has the property that if you add 1, you get p= 0 (mod p). What do we call the number that, added to 1, gives 0?
Feb27-12, 09:27 PM   #9
 
Quote by HallsofIvy View Post
Seriously? p- 1 has the property that if you add 1, you get p= 0 (mod p). What do we call the number that, added to 1, gives 0?
Exactly... if you (the OP) don't mind my asking, what level (middle school, high school, university) is the course you are taking? It seems like you don't have a clear understanding of congruence yet, but have somehow gotten to Fermat's little theorem... it seems strange to me.
Feb27-12, 09:29 PM   #10
 
Quote by HallsofIvy View Post
Seriously? p- 1 has the property that if you add 1, you get p= 0 (mod p). What do we call the number that, added to 1, gives 0?

well adding -1 to 1 will give 0. But I'm not seeing it with respect to congruence.
Feb27-12, 09:30 PM   #11
 
Quote by Ansatz7 View Post
Exactly... if you (the OP) don't mind my asking, what level (middle school, high school, university) is the course you are taking? It seems like you don't have a clear understanding of congruence yet, but have somehow gotten to Fermat's little theorem... it seems strange to me.

university level course.....
Feb27-12, 09:30 PM   #12
 
Quote by trap101 View Post
well adding -1 to 1 will give 0. But I'm not seeing it with respect to congruence.
Try adding multiples of p to p-1... there isn't really any more help anyone can give.
Feb27-12, 09:34 PM   #13
 
as far as congruence, my understanding is this: it is the relationship between a divisor and the number being divided, in which the remainder that is obtained can be compared with another number divided by the same divisor that obtains a similar remainder.
Feb27-12, 09:43 PM   #14
 
Quote by Ansatz7 View Post
Try adding multiples of p to p-1... there isn't really any more help anyone can give.

Well that's great....Just so I'm on firm ground with the question:

1 + 1 + 1...........1 (is congruent to) ______ (mod p)

adding up all those one's will give me:

(p-1) (congruent to) ______ (mod p)
Feb27-12, 09:49 PM   #15
 
Quote by trap101 View Post
Well that's great....Just so I'm on firm ground with the question:

1 + 1 + 1...........1 (is congruent to) ______ (mod p)

adding up all those one's will give me:

(p-1) (congruent to) ______ (mod p)
Yes, the question is entirely clear. I'm frankly having a hard time believing that you are (presumably) at least a week or so into a university-level number theory course and you cannot show that (p - 1) is congruent to -1 (mod p), unless you're just having silly moment. Think about the definitions of congruence you have posted (I personally think a = pk + b is easiest for this purpose, but of course they are all equivalent). Remember that k can be ANY integer.
Feb27-12, 09:54 PM   #16
 
I think I just realized it:

So going back to the fact that I will have a sum of (p-1), p|(p-1) can be written as p(1) + (-1).....in other words, my "remainder" is -1 and so (p-1) "is congruent to" -1 (mod p)



sometimes I get so possessed into thinking of the congruence as an equals sign and start carrying things over from side to side.


Thanks by the way.
Feb27-12, 09:55 PM   #17
 
Quote by trap101 View Post
I think I just realized it:

So going back to the fact that I will have a sum of (p-1), p|(p-1) can be written as p(1) + (-1).....in other words, my "remainder" is -1 and so (p-1) "is congruent to" -1 (mod p)
Yes!
New Reply
Thread Tools


Similar Threads for: Test Tomorrow.....Help!!!....Fermat's Little Theroem
Thread Forum Replies
Fermat primality test Calculus & Beyond Homework 13
fermat test Calculus & Beyond Homework 3
Test tomorrow need help Biology, Chemistry & Other Homework 5
A primality test for Fermat numbers faster than Pépin's test ? Linear & Abstract Algebra 2
fermat test Linear & Abstract Algebra 8