Hi all,
I'm having a little bother clearly understanding a proof. Would be grateful
for feedback on my approach and on any tips/suggestions etc from you
knowledgables.
So I'm proving (supposedly) that "a^p ? a (mod p) where p is a prime and a
is an element of the naturals"
So I begin by trying to make things clearer for myself:
"a^p ? a (mod p)"
<==> "a^p - a = pc for some integer c"
<==> "(a^p - a) / p = c"
<==> "p divides a^p - a"
<==> "p divides a*(a^(p-1) - 1)"
Thus, if p divides a then a^p ? a (mod p) is true.
So we need to look at two cases.
Case1: P divides A
Case2: P does not divide A
Case1 -- P divides A:
If p divides a then a / p = c for come integer c.
a = p*c
a - 0 = p*c
a ? 0 (mod p)
Now, I've read that it follows that a^p ? 0 (mod p) but why? Is it just
because we can multiply both sides by mutiple a's?
And then now a^p ? a (mod p) is true? Why? since a = 0 and 0 is an element
of the naturals (let us let 0 be an element of the naturals)?
so then surely 0^p ? 0 mod p follows.
So does this have any particular signifiance? what happens when p divides a?
so in this case a = [0]_p?
Case 2 -- P does not divide A:
Then we have a remainder r, between 0 and p-1 inclusive.
So we have p-2 congruence classes, right? since [0]_p is for when P divides
A
so we have [1]_p, [2]_p, .... , [p-1]_p congruences classes that a can exist
in?
Now, I've seen in other proofs that they go on to multiply these by a and
then somehow they reach the conclusion that:
a.2a.3a.....(p-1)a = 1.2.3.....(p-1) (mod p)
I cannot see this at all.
Can someone please explain. I would be ever so appreciative of some help.
Thanks a lot in advance.
Maria Chacino - 28 Feb 2007 11:08 GMT
In all cases where I've used the congruence sign a question mark has
appeared. Sorry. I don't know how to add this..
> Hi all,
>
[quoted text clipped - 43 lines]
> Can someone please explain. I would be ever so appreciative of some help.
> Thanks a lot in advance.
hagman - 28 Feb 2007 11:44 GMT
> Hi all,
>
[quoted text clipped - 25 lines]
> Now, I've read that it follows that a^p ? 0 (mod p) but why? Is it just
> because we can multiply both sides by mutiple a's?
Yep, a == b (mod p) implies a^k == b^k (mod p)
Here, b=0 and k=p, i.e. a^k == 0 (mod p)
Since also a == 0 (mod p), we have indeed a^p == a (mod p)
> And then now a^p ? a (mod p) is true? Why? since a = 0 and 0 is an element
> of the naturals (let us let 0 be an element of the naturals)?
[quoted text clipped - 12 lines]
> a.2a.3a.....(p-1)a = 1.2.3.....(p-1) (mod p)
> I cannot see this at all.
How many factors a*i are there on the left hand side?
Can any two be congruent mod p, i.e. can we have a*i=a*j (mod p) for
different i,j?
Can any a*i be congruent to 0 mod p?
What does that tell you about left hand side and right hand side if
you ignore the order of factors?
> Can someone please explain. I would be ever so appreciative of some help.
> Thanks a lot in advance.
How about this approach:
You have beads of a different colors and want to produce necklaces
with p beads each.
How many different patterns with at least two different colors
occuring can you produce?
You start with an empty string and put bead after bead on it and
finally knot the string together.
Thus it looks as if you have a*a*...*a = a^p different outcomes, but a
of them are monochromatic,
hence that would make a^p-a.
However, not all of these outcomes are really different: If you take a
necklace and rotate it clockwise by 1, 2, ..., p-1 beads, you obtain
what looks like a different outcome of your production process.
It follows that you can group your a^p-a necklaces into disjoint sets
of p each where the members of each group differ only by such a
rotation.
The total number of these sets is (a^p-a)/p and must be an integer :)
matt271829-news@yahoo.co.uk - 28 Feb 2007 12:32 GMT
> Hi all,
>
[quoted text clipped - 43 lines]
> Can someone please explain. I would be ever so appreciative of some help.
> Thanks a lot in advance.
http://en.wikipedia.org/wiki/Proofs_of_Fermat%27s_little_theorem might
be useful.