Skip to content
← All questions

Why does the Euclidean algorithm stop when the remainder is zero, and what is the final answer?

In the Euclidean algorithm, when the division process yields a remainder of zero, the greatest common divisor of the original two integers is the last non-zero remainder obtained. The algorithm stops at this point because the method is over, and the last non-zero remainder is guaranteed to divide both original numbers evenly.

Conditions

  • The Euclidean algorithm is applied to two integers.
  • The process of repeated long division is followed until a remainder of zero is reached.

Reasoning, step by step

  1. Perform repeated long division on the two integers.
  2. Observe the sequence of remainders.
  3. Stop the process when a division yields a remainder of zero.
  4. Identify the remainder from the immediately preceding step (the last non-zero remainder).
  5. Conclude that this last non-zero remainder is the greatest common divisor.

Example

The narrator states, 'When you get a remainder of zero, you stop and the method is over. The last nonzero remainder is the greatest common divisor.' An arrow points to the remainder '21' in the second-to-last division step at 01:51, identifying it as the result.

Common misconceptions

  • Believing that the zero remainder itself is the greatest common divisor.
  • Thinking the algorithm must continue indefinitely even after reaching a zero remainder.

Watch the explanation

Connected concepts

Explore next

Related questions

Understand why

↗
Find a method

↗
Find a method

↗
Find a method

↗
Find a method

↗

Answers are generated from source material and independently checked. Consult the original video or creator if something is unclear.