Skip to content

Commit 72b9c9f

Browse files
committed
added fermet euler theorm
1 parent b2c6d60 commit 72b9c9f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

number theory/number theory notes.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,13 @@ ie a^(p-1)mod p = 1 ; if a is not divisible by p
6767
(a*b)mod m , then b is MMI
6868
MMI can be calculated as a^(m-2) mod m and this can be calculated by EXPONENTIATATION given m is prime.
6969
-----------------------------------------------------------------------------------------------------------
70+
FERMET- EULER THEORM
71+
if x and n are coprime then ,
72+
x^ϕ(n) ≡ 1 mod n ;
73+
74+
minor version of fermet little THEORM
75+
-----------------------------------------------------------------------------------------------------------
76+
7077
a^(p-1)mod p = 1 ; if a is not divisible by p
7178

7279
so for any a^x

0 commit comments

Comments
 (0)