Can you help me to proof the Fermat theorem that if p is a
prime number, then np - n can be divided by p.
Thank you,
Ngoc
Here's a nice proof that I once came
across:
Suppose I am making bracelets by threading beads on a piece of
string and tying the ends together. I have n different colours of
beads, and each bracelet has exactly p beads on it.
Now, how many different bracelets can I make? Clearly, if I were
just making strings of beads, I could make np ,
because I have n choices for the colour of the first bead, n for
the second, and so on up to the pth bead.
However, I'm closing them up into loops. Now, for example, let's
represent a black bead by O and a white one by X.
Then if I make O-X-X-O-O, and join the ends together, and I also
make X-X-O-O-O, I will get the same bracelet in the end, because
I can just slide beads past the knot in the string. By doing
this, there are 5 different strings that all give the same
bracelet.
So, for any arrangement like the O-X-X-O-O one for p=5, I have a
set of p different strings that give the same bracelet.
However, if I had the string O-O-O-O-O, this isn't in any of
these groups - it looks the same wherever you start from, so to
speak.
In fact, there will be precisely n single-coloured strings like
this one, because there are n colours. The other np -n
strings will fall into groups of size p. Hence if the number of
these groups is k then k×p = np
-n.
(Can you see why this doesn't work if p isn't a prime?)
David
Of course, there are many more advanced proofs - if you know enough group theory it's obvious - but this is one of the neatest and easiest.
David, where did you use that p is prime, in your proof?
Abbas, the point is that if you have a
string that is invariant under a cyclic rotation by k places,
then k must divide p. So for p prime, k is 1 or p, which is why
the proof works. If p isn't prime it breaks down. For example, if
p=4, then O-X-O-X is in a group of 2, with X-O-X-O and nothing
else.
Also, it is all very well deriving Fermat from the Fermat-Euler
theorem, but how do you propose to prove this theorem? It is
obvious that Fermat's follows from Euler's, but that doesn't
really get us anywhere without a proof of the latter. (Of course
Fermat-Euler is also obvious from a group theoretic
perspective.)
David
ANOTHER PROOF:
Let p be a prime number.
| (x+1)p= |
p å i=0 | p Ci xi |
Thanks everyone. I got it now.