Skip to content
START WITH A QUESTION

What would you like to understand?

Find an answer. See the moment it becomes clear. Follow the idea further.

← Concept directory

Answers for “必须继续直到余数恰好为 0 吗?”

2 keyword matches

Understanding your question. You can explore the search results below now.

Know when to use it

↗

Strictly speaking, the standard stopping condition for the Euclidean algorithm is to continue until the remainder is 0. The last nonzero remainder is then the gcd.

Conditions: The inputs are natural numbers.; The Euclidean algorithm is being applied.

Find a method

↗

The Euclidean algorithm computes the greatest common divisor by repeatedly applying the division algorithm. Starting with two natural numbers aa and bb, you divide the larger by the smaller to get a quotient and a remainder.

Conditions: The inputs aa and bb are natural numbers.; The division algorithm is applied repeatedly.; The process stops when a remainder equals 0.