Fermat theorem:
Known: P is a prime number, A is an integer and 1≤a≤p
Verification: A p−a can be divisible by P
The following is the most understandable and fascinating proof of the Fermat theorem, called Proof by counting bracelets, the founder of Golomb.
Proof: Suppose another necklace composed of p beads, necklace in the number of beads to a maximum, then all possible non-repeating arrangement of a p, where the number of beads is 1 of the case there is a species, then after the removal of these cases there is a p−a species. Now that the necklace of all the cases is connected to the end, it is possible to repeat the situation. Because P is a prime number, so a ring containing p beads will appear in different cases p, that is, this a p−a case can be divided into some classes, each class has a p in the case, that is, a p−a can be divisible by P.
Certificate of Completion