WordGPT

Euclidean algorithm

Finds the greatest common divisor by repeated division. History: c. 300 BC.

How to work it out

  1. 1

    The statement:

    gcd⁡(a,b)=gcd⁡(b, a mod b)\gcd(a, b) = \gcd(b,\ a \bmod b)
  2. 2

    Finds the greatest common divisor by repeated division.

  3. 3

    Below, the numbers in the table are computed by this site from the definition, not copied.

LaTeX source of the formulas on this page
\[ \gcd(a, b) = \gcd(b,\ a \bmod b) \]

gcd(1071, 462) step by step (computed)

Stepaba mod b
11071462147
246214721
3147210

Questions

What is the euclidean algorithm?

Finds the greatest common divisor by repeated division.

Who is the Euclidean algorithm associated with?

Euclid.

People

More theorems

    Euclidean algorithm: statement, example and proof idea | WordGPT