this is for holding javascript data
Maritza edited Fermat_s_Little_Theorem_states__.html
about 8 years ago
Commit id: 7aa32f265bc4867d87b2d11564ec6ef4cf311e5a
deletions | additions
diff --git a/Fermat_s_Little_Theorem_states__.html b/Fermat_s_Little_Theorem_states__.html
index bc78c15..426df1e 100644
--- a/Fermat_s_Little_Theorem_states__.html
+++ b/Fermat_s_Little_Theorem_states__.html
...
Fermat's Little Theorem states, if \(p\) is a prime number and \(a\) is an integer, \(a^p\equiv a\) (mod \(p\)). The theorem itself is used and is very helpful when testing numbers to see of if they are not prime. It can be easy to see whether a small number is not prime however, with Fermat's Theorem it is very fast. One of the most important things to note is that the theorem does not tell whether a number is prime but it will tell you if it is not prime. Therefore, the famous theorem also states that if \(p\) does not divide \(a\), then \(a^{p-1}\equiv\) \(1\) (mod \(p\)).