Initial commit

This commit is contained in:
2025-12-25 21:13:43 -08:00
commit 9ce7679e9c
40 changed files with 2430 additions and 0 deletions

31
Fermet Euler Theorem.md Normal file
View File

@@ -0,0 +1,31 @@
#Math #NT
# Theorem
Let $a$ and $m$ be coprime numbers.
$$
a^{\phi(m)} \equiv 1 \mod m
$$
This is a generalization of Fermet's Little Theorem, as $m$ is a prime number in Fermets Little Theorem.
# Proof
Let:
$$
A = \{p_1, p_2, p_3,... p_{\phi(m)} \} \mod m \\
B = \{ap_1, ap_2, ap_3,...ap_{\phi(m)}\} \mod m
$$
Where $p_x$ is the $x$th number relatively prime to $m$.
Since $a$ and $p_x$ are coprime to $m$, $ap_x$ is coprime to $m$. Since each $p_x$ is unique, $ap_x$ is unique, which makes set $B$ the same as set $A$.
Since all terms are coprime to $m$:
$$
a^{\phi(m)} \prod _{k = 0}^{\phi(m)} p_k \equiv \prod _{k = 0}^{\phi(m)} p_k \mod m \\
a^{\phi(m)} \equiv 1 \mod m
$$