Math 2.0

Number theory Divisibility and primes Concept

Extended Euclidean algorithm

Summary

The extended Euclidean algorithm computes the greatest common divisor dd of two integers aa and bb, and also integers xx and yy such that ax+by=da x + b y = d. It does the steps of the Euclidean algorithm. At each step, it writes the new remainder as an integer combination of aa and bb.

Remarks

The coefficients xx and yy prove Bézout's identity for aa and bb. When gcd⁡(a,n)=1\gcd(a, n) = 1, the coefficient xx of aa is a modular multiplicative inverse of aa modulo nn.

Further reading

  1. Web https://en.wikipedia.org/wiki/Extended_Euclidean_algorithm, Description
About this page
Tag0964YQFSA8
URIm2://0964YQFSA8
Kindconcept
WritingW0 stub
MSC11A05
Same as

Markdown · JSON · Edit on GitHub

What this page needs for W1

  • an inventory row: the row of the inventory that the node accounts for (0 of 1)

The writing levels say how complete the text of a page is. They do not measure its truth.

What links here

No page links to this page yet.