Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create Bézout’s Identity (Extended Euclidean Algorithm)
Bézout’s Identity is a fundamental theorem in number theory that states: for any two integers 𝑎 a and 𝑏 b with a greatest common divisor 𝑑 d, there exist two integers 𝑥 x and 𝑦 y such that: 𝑎 𝑥 + 𝑏 𝑦 = 𝑑 ax+by=d The Extended Euclidean Algorithm is an extension of the Euclidean algorithm that not only finds the GCD of two integers 𝑎 a and 𝑏 b but also finds the coefficients 𝑥 x and 𝑦 y that satisfy Bézout's Identity. This algorithm has practical applications in: Solving linear Diophantine equations. Computing modular inverses (important in cryptography). Finding integer solutions in various number theory problems.
- Loading branch information