vimwiki/tech/gcd.wiki

17 lines
388 B
Plaintext
Raw Normal View History

2021-10-11 03:22:53 +00:00
= GCD =
Greatest common divisor is the multiple that two numbers have in common
== Extended Euclidean's Algorihtm ==
Way to find the greatest common divisor of two numbers
* Theorm
- If m,n are relatively prime then n has an inverse mod m
* n^-1 = b mod m
- Where a,b are any integer solutions to
* a * m = b * n = 1 mod m
- and b would be a modular inverse of n
[[index]]