An open API service indexing awesome lists of open source software.

https://github.com/g4titanx/gcd_euclidean_algorithm

this is a representation of the extended Euclidean algorithm in rust
https://github.com/g4titanx/gcd_euclidean_algorithm

euclidean-algorithm rust

Last synced: about 1 month ago
JSON representation

this is a representation of the extended Euclidean algorithm in rust

Awesome Lists containing this project

README

          

# gcd_euclidean_algorithm
the program returns an integer solution to the equation `au + bv = gcd(a,b)`, a solution to exercise 1.12 of the book *An Introduction to Mathematical Cryptography* by *Jeffrey Hoffstein*.

# the extended Euclidean algorithm theorem
Let `a` and `b` be positive integers. Then the equation `au + bv = gcd(a,b)` always has `a` solution in integers `u` and `v`.