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 “欧几里得算法如何计算最大公约数?”

20 keyword matches
Find a method

↗

To compute gcd⁡(5295,4321)\gcd(5295, 4321), apply the Euclidean algorithm by repeatedly dividing the previous divisor by the previous remainder. Start with 5295=1⋅4321+9745295 = 1 \cdot 4321 + 974.

Conditions: The inputs are 5295 and 4321.; The Euclidean algorithm is used.; The division algorithm is applied at each step.

Understand why

↗

Once the new remainder is 0, the division is exact, meaning the current divisor perfectly divides the previous dividend. The algorithm's termination rule states that the greatest common divisor of the original pair is the last nonzero remainder, which is the divisor of this final exact division.

Conditions: The Euclidean algorithm has been applied to two positive integers.; A division step has produced a remainder of 0.; The inputs are 10 and 45.

Meet the concept

↗

In the displayed Euclidean algorithm, aa and bb are the two initial natural numbers whose gcd is being found. qiq_i represents the quotient at the ii-th division step.

Conditions: The symbols are from the general statement of the Euclidean algorithm on the left board.

Find a method

↗

To compute the greatest common divisor of 1785 and 546, apply the Euclidean algorithm by repeatedly dividing the previous divisor by the previous remainder. Start with 1785 divided by 546.

Conditions: The inputs are 1785 and 546.; The Euclidean algorithm is used.; The division algorithm is applied at each step.

Find a method

↗

To begin the Euclidean algorithm for gcd⁡(1701,3768)\gcd(1701, 3768), place the larger number (3768) on the left side of the division equation and the smaller number (1701) as the divisor. Write 3768=1701⋅q+r3768 = 1701 \cdot q + r.

Conditions: The inputs are positive integers.; The larger number is used first on the left-hand side.; The quotient is an integer and the remainder satisfies 0≤r<17010 \le r < 1701.

Understand why

↗

A common divisor also divides the difference because division is interpreted as repeated subtraction. If a number divides evenly into the larger number and the smaller number, subtracting the smaller number repeatedly from the larger one will eventually leave a difference that the same divisor also divides evenly.

Conditions: There are two numbers in the example.; A chosen divisor divides evenly in the sense described by the speaker.; The subtraction is performed from the larger number using the smaller number.

Meet the concept

↗

The Euclidean algorithm is a method for finding the greatest common divisor (gcd) of two natural numbers. It is set up by repeatedly applying the division algorithm.

Conditions: The inputs aa and bb are natural numbers.; The division algorithm is used at each step.

Meet the concept

↗

In this video, the Euclidean algorithm is introduced as a method for finding the greatest common factor of two numbers. The presentation specifically demonstrates the subtraction version of the algorithm rather than the modulo version.

Conditions: Applies to two numbers in the worked example.; The video uses positive integer examples.