This resource contains the proofs of the Fermat's Little Theorem, Euler's Theorem and corollaries of the aforementioned, and some necessary properties of modular arithmetic. All these are required in order to grasp the group theory, indeed this article is a requirement to proceed to [https://github.com/Z323323/Group-theory-elements].
Note also that the first proof can be safely skipped.
Since this is quite difficult to understand I'm simplifying as much as possible (it's almost the same as Wiki by the way).
For any positive integer
This is a strange summation because of:
The implicit combination is:
$(3, 0, 0)$ $(0, 3, 0)$ $(0, 0, 3)$ $(2, 1, 0)$ $(2, 0, 1)$ $(1, 2, 0)$ $(0, 2, 1)$ $(1, 0, 2)$ $(0, 1, 2)$ $(1, 1, 1)$
Combinations are not an easy topic, here the quest. is: how many sets of
But there's another better formed solution for sure.
Now what's actually crazy about this theorem is that it correlates these combinations with powers and coeffs of every term of any power (ahhh these mathematicians...).
This is the coeff. of every term, if you try to calculate it you will find that is correct. Now for this example is quite fast to check, but it actually works for every power and any number of
We can represent
We can immediately notice
All other terms will need to 'produce'
for
for any other case, which proves the theorem.
To better understand the latter, you can start by thinking at
Calling
If
Because if:
and since
becomes a 'rearrangement' of
This one could look exactly like the former but it's not. This property does not care at all about congruences equalities; it just states that the first formula will be 'mapped' into that sequence of values. 'rearrangement' means that we don't care about which congruence will be mapped into which value, we just want to prove that all those values will be mapped. Nonetheless we will use the cancellation law to prove it (:'D).
The fact that no congruence will 'produce'
We take the sequence of congruences:
and represent each pair as
From the cancellation law we know that since
but this is true only if
with
hence
This proof has been discovered by James Ivory and Dirichlet.
Having proved the former properties this will be easily understandable.
We take the rearrangement property and the multiplication property and state that if they hold, then, this holds:
Now we can collect every term:
We can think at this formula as:
where
which proves
Now we can prove the corollary, which is really important:
The rearrangement holds since if
Collecting and applying the cancellation law:
We call
Collecting the terms:
Using the cancellation law (holds since
Same reasoning made for the former, that is:
Collecting and applying the cancellation law:
We can rewrite the formula above as
Since we proved
This could seem unnecessary at this point, but it could be useful to understand some basic (while important) group theory elements.
with the operation of multiplication:
where
Since all these requirements are quite obvious, the only one which (for the moment) needs a more detailed analysis is the inverse existence and uniqueness for every element: calling
always exists, and we can rewrite this as
proving that every element of
Now the real question is about uniqueness:
we can reuse the almighty 'cancellation law' and state that if
is true, then
This whole reasoning is easily iterable for