Greatest common divisor
The largest positive integer dividing both inputs. In this lesson, gcd means greatest common divisor despite the narration’s use of “denominator”.
Learn Math Tutorials · YouTube · 4:09
Learn the Euclidean algorithm through two complete whiteboard examples: gcd(10,45)=5 and gcd(1701,3768)=3. Repeated integer division carries each divisor and remainder into the next line; the process stops at a zero remainder. The narration sometimes says “denominator”; the intended standard term is greatest common divisor. Editorial scope: use positive integers and choose the divisor of the terminal division, which is the last nonzero remainder in these examples. The lesson demonstrates the calculation; the general gcd-invariance argument below is an editorial supplement.
Use the learning inspector for key ideas and moments, or open the reading tabs for the complete notes.
Generated from the video's visuals and explanation; not verbatim speech.
The greatest common divisor is the largest positive integer dividing both inputs. Here the two examples are (10,45) and (1701,3768). The narration’s word “denominator” refers to the divisor in this setting.
Write the first division as . Four copies of 10 leave 5, so . Editorial condition: the quotient is an integer and the remainder satisfies .
Use the previous divisor as the new dividend and the previous remainder as the new divisor. This turns the pair (45,10) into (10,5); the next division is .
The remainder is now zero. The divisor in this final division is 5, so . The answer is 5, rather than the terminal remainder 0.
For the larger pair, start with , followed by . The same procedure works without listing every factor of the original numbers.
Continue with , , and . Each positive remainder is smaller than the divisor used to obtain it.
The last two lines are and . The terminal divisor is 3, giving .
Editorial explanation of why the method works: if , a number divides both a and b exactly when it divides both b and r. Thus each reduction preserves the common divisors. With positive integer inputs, decreasing positive remainders eventually reach zero. Return the final divisor; if the first remainder is already zero, return the original divisor directly.
The largest positive integer dividing both inputs. In this lesson, gcd means greatest common divisor despite the narration’s use of “denominator”.
For positive integers, divide to obtain a quotient and remainder, then replace the pair by the divisor and remainder. Editorial conditions are integer q and ; repeat only while the remainder is positive.
For 45 divided by 10, the quotient is 4 and the remainder is 5. The remainder is smaller than 10.
The old divisor becomes the dividend, and the old remainder becomes the divisor. Here the pair (45,10) becomes (10,5).
Return the divisor of the final division. In this example it is 5, the preceding nonzero remainder. This formulation also covers a zero remainder on the very first division.
The first two divisions reduce (3768,1701) to (366,237). The numerical steps are shown in the video.
The remainder chain continues through 129, 108, 21 and 3, with each positive remainder smaller than the preceding divisor.
The final lines give remainder 3 and then 0. Therefore the greatest common divisor of 1701 and 3768 is 3.
Editorial supplement: from , any common divisor of a and b divides ; any common divisor of b and r divides . This proves the invariant used by the calculation. The video itself gives worked examples rather than this general proof.
Explore conditions, steps and evidence. Supplementary explanations are labeled separately from content shown in the video.
Whiteboard shows "gcd(10;45)" and "gcd(1701;3768)".
Speaker says he will show how to find the greatest common denominator by using the Euclidean algorithm.
The spoken phrase is "greatest common denominator", but the written notation is gcd, which conventionally denotes greatest common divisor.
gcd(a;b)
Function notation for the greatest common divisor of two integers a and b.
Integers; in this 0–83-second source interval the examples use positive integers.
The board writes "" and then "".
Speaker explains that q is how many times 10 goes into 45.
q
Quotient in the division step of the Euclidean algorithm.
Nonnegative integer in this example.
The board writes "" and then "".
Speaker explains that r is the remainder of that result.
r
Remainder after dividing the larger number by the smaller number.
Integer remainder; in this example it is 5.
The first worked example on the board is gcd(10;45).
The first worked pair introduced in the narration is 10 and 45.
10, 45
The pair of integers used in the first worked example.
Positive integers.
The second expression visible on the board is gcd(1701;3768).
This second example is only shown on the board in this 0–83-second source interval; no computation for it is performed within the provided duration.
1701, 3768
A second pair of integers written on the board as another gcd example.
Positive integers.
The board shows gcd(10;45) and gcd(1701;3768).
The speaker refers to the result as the greatest common denominator for the original two numbers.
The spoken phrase 'greatest common denominator' conflicts with the written notation gcd, which conventionally means greatest common divisor.
gcd(a;b)
Greatest common divisor of the two integers a and b, as indicated by the written notation.
Positive integers.
The board shows .
q, r
Quotient and remainder in the division step of the Euclidean algorithm.
Integers with < divisor in the standard algorithm.
The board shows and .
45, 10, 4, 5, 2, 0
Concrete integers used in the worked example for gcd(10;45).
Nonnegative integers.
The board shows , then , then .
The final remainder for the third displayed line is not completed within this 83–166-second source interval.
3768, 1701, 2, 366, 4, 237, 1
Concrete integers used in the larger worked example for gcd(1701;3768).
Nonnegative integers.
gcd(10; 45) and gcd(1701; 3768) written at the top of the whiteboard.
Greatest common divisor of two integers a and b.
Positive integers in this lesson.
The specific numbers 1701 and 3768 are used as the inputs to the gcd function.
a, b
The two positive integers for which the greatest common divisor is being calculated (specifically, , ).
Positive integers
Speaker states that the greatest common denominator is going to be the largest number that divides both 10 and 45 evenly.
The board shows gcd(10;45).
The speaker says "denominator" while the notation gcd normally means "divisor".
For the pair 10 and 45, the video defines the target quantity as the largest number that divides both numbers evenly. In standard terminology this is the greatest common divisor.
Applies here to two positive integers.
The term divisor is the standard terminology.
Speaker says he will show how to find the greatest common denominator by using the Euclidean algorithm.
Title on board reads "THE EUCLIDIAN ALGORITHM".
The board title spells "EUCLIDIAN"; standard English spelling is usually "Euclidean".
The 0–83-second source interval presents the Euclidean algorithm as a method for computing gcd(10;45), especially when the answer is not immediately obvious by inspection.
Used here for the gcd of two positive integers.
Speaker says to take the larger of the two numbers, set it equal to the smaller number times some number q plus some number r.
The board writes "" and then "".
The algorithm begins by expressing the larger integer as the smaller integer multiplied by a quotient plus a remainder. In this example, 45 is rewritten in terms of 10, q, and r.
Use the larger number on the left-hand side.
Use the smaller number as the multiplier base.
q is the quotient and r is the remainder.
Speaker says q is how many times 10 goes into 45 and r is the remainder of that result.
The completed line is "".
In the worked example, q counts how many whole times the smaller number fits into the larger one, and r is what is left over after that multiplication.
Specific to the division 45 by 10 in this 0–83-second source interval.
Speaker says that in all remaining steps, take the number in this position and move it to where the left-hand-side number was, then take the remainder and move it to where the smaller number was.
Arrows are drawn under the previous line to show 10 moving left and 5 moving into the next divisor position.
A new line begins with "10 =".
The next full equation after "10 =" is not completed within the provided 0–83-second source interval.
After one division step, the previous divisor becomes the new dividend, and the previous remainder becomes the new divisor. The process repeats until the remainder reaches zero.
Continue the pattern until a remainder of 0 is obtained.
The board displays and then substitutes , .
The speaker describes asking how many times one number goes into another and what the remainder is.
Repeated division uses dividend = divisor × quotient + remainder. For the small example, 45 divided by 10 gives quotient 4 and remainder 5; then 10 divided by 5 gives quotient 2 and remainder 0.
Applied to positive integers in the examples shown.
The 83–166-second source interval does not explicitly state the formal bound , although the worked values are consistent with it.
The narration selects the preceding nonzero remainder after the new remainder becomes zero.
The board shows , and the earlier remainder 5 is boxed.
The spoken term 'greatest common denominator' is likely a slip; the written notation is gcd.
In this example, , so the terminal divisor 5 is the gcd of (10,45). It is also the preceding nonzero remainder. Editorial scope: the terminal-divisor formulation works even when the first division already has zero remainder.
The inputs here are two positive integers.
The 83–166-second source interval demonstrates the rule on a concrete example rather than proving it.
The narration starts the larger calculation with 3768 divided by 1701, then carries the new remainders forward.
The board shows , then , then .
The third line is incomplete by the end of the 83–166-second source interval.
The presenter repeats the same Euclidean-algorithm procedure on gcd(1701;3768), beginning with the larger number 3768 divided by the smaller number 1701, then carrying each remainder forward to the next line. The 83–166-second source interval shows the first two full divisions and the start of the third.
The method is shown for positive integers.
The final remainder in the last displayed line is not reached within this 83–166-second source interval.
Speaker explains the process of repeatedly dividing and moving remainders to find the greatest common denominator.
A sequence of division equations is written on the board, ending with a remainder of 0.
For positive integers, repeatedly write with an integer quotient and , then use the pair (b,r) when r is positive. At a zero remainder return the divisor of that terminal division. In the two examples this equals the last nonzero remainder; if the first division is exact, return its divisor without requiring an earlier nonzero remainder. This general scope is an editorial clarification of the worked procedure.
a and b are integers
0 <=
The narration identifies 5 as the answer for the first integer pair.
The example being discussed is gcd(10;45).
The value 5 is stated verbally in this 0–83-second source interval; it is not yet boxed or derived to completion before the 0–83-second source interval ends.
For the pair 10 and 45, the greatest common divisor is 5.
The numbers under consideration are 10 and 45.
Specific numerical claim for the given pair.
Speaker says to follow the pattern all the way down until we get a remainder of 0.
The 0–83-second source interval does not prove why stopping at remainder 0 yields the gcd; it only states the procedure.
In the Euclidean algorithm as presented here, continue the shift-and-divide pattern until the remainder is 0.
The algorithm is applied to two positive integers.
General procedural claim stated for the algorithm.
The narration chooses the preceding nonzero remainder when the final remainder becomes zero.
The board shows and , with 5 boxed.
The spoken wording says 'denominator' while the written notation is gcd.
For the pair (10,45), after obtaining , the previous remainder 5 is the gcd of the original two numbers.
The Euclidean algorithm has been applied to 45 and 10.
A division step has produced remainder 0.
For the specific integers 10 and 45 shown in the example.
The board shows and .
The narration describes 3768 divided by 1701 with quotient 2 and remainder 366, followed by 1701 divided by 366 with quotient 4 and remainder 237.
In the larger example, and .
The integers are 3768 and 1701.
The Euclidean algorithm is being applied by successive division.
For the specific integers 3768 and 1701 shown in the example.
The narration concludes that the gcd of 1701 and 3768 is 3, referring to the last positive remainder.
The speaker draws an arrow from the final remainder '0' to the previous remainder '3', and boxes the '3'.
For two positive integers, correctly performed Euclidean division terminates with a zero remainder. Its terminal divisor is their gcd; where earlier nonzero remainders exist, this is the last such remainder. The source example gives .
The Euclidean algorithm has been applied correctly to the two numbers.
The algorithm has terminated with a remainder of 0.
For any two positive integers.
Speaker explains taking the larger number 45 and setting it equal to the smaller number 10 times q plus r.
The board shows "" and then "".
Start with the larger number 45 and express it in terms of the smaller number 10, an unknown quotient q, and an unknown remainder r.
This is the division-with-remainder setup described by the speaker for the Euclidean algorithm.
Determine how many whole times 10 fits into 45.
The speaker explicitly says q is how many times 10 goes into 45.
Compute the leftover amount after subtracting 4 copies of 10 from 45.
The speaker identifies r as the remainder of that result.
Substitute the found quotient and remainder back into the division equation.
Direct substitution of and into the initial form.
The first Euclidean reduction for the example is .
Speaker says to move the number in the divisor position to the left-hand side and move the remainder into the next smaller-number position.
Arrows under the completed line indicate the movement of 10 and 5 into the next step.
A new line starts with "10 =".
The next full equation is not finished within the 0–83-second source interval, so the exact next quotient and remainder are not shown here.
Begin from the completed first division line.
This line is already written on the board.
Move the previous divisor 10 to the left-hand side of the next equation.
The speaker describes this shift as the rule for all remaining steps.
The previous remainder 5 becomes the new divisor position in the next line.
This follows the arrow pattern and the verbal instruction to move the remainder into the smaller-number position.
The algorithm proceeds to a new line beginning with 10, using 5 as the next divisor; the rest of that line is not shown within the 0–83-second source interval.
The board shows , then , then .
The narration replaces the divisor by the preceding remainder and reaches an exact division, then identifies the answer.
Begin with the larger number 45 expressed in terms of the smaller number 10.
Setup of the division-with-remainder step shown on the board.
Compute the quotient and remainder for 45 divided by 10.
Arithmetic evaluation of the division step.
Move the previous remainder 5 into the divisor position and divide the previous divisor 10 by it.
The narration moves the preceding remainder into the divisor position before the next division.
Because the new remainder is 0, take the previous nonzero remainder 5 as the gcd.
Termination rule stated verbally and visually emphasized by boxing 5.
The Euclidean algorithm yields gcd(10;45)=5.
The board shows , then , then .
The narration performs two completed divisions and starts the third division of the larger example.
The 83–166-second source interval ends before the remainder on the third line is written or the algorithm terminates.
Start the larger example by dividing 3768 by 1701.
Explicitly written on the board and stated in the audio.
Replace the divisor by the previous remainder 366 and divide 1701 by it.
The narration carries the previous divisor and remainder into the next written line.
Replace the divisor by the previous remainder 237 and begin dividing 366 by it.
The source interval shows the start of the next division, with the remainder completed later in the full video.
Within this 83–166-second source interval, the larger example is carried through two complete Euclidean steps and the beginning of a third; the final gcd is not reached on screen.
The step-by-step division equations are written on the whiteboard.
The speaker narrates each step of the calculation.
Divide 3768 by 1701. The quotient is 2 and the remainder is 366.
Division algorithm.
Move 1701 to the left side and 366 to the right. Divide 1701 by 366. The quotient is 4 and the remainder is 237.
Division algorithm.
Move 366 to the left side and 237 to the right. Divide 366 by 237. The quotient is 1 and the remainder is 129.
Division algorithm.
Move 237 to the left side and 129 to the right. Divide 237 by 129. The quotient is 1 and the remainder is 108.
Division algorithm.
Move 129 to the left side and 108 to the right. Divide 129 by 108. The quotient is 1 and the remainder is 21.
Division algorithm.
Move 108 to the left side and 21 to the right. Divide 108 by 21. The quotient is 5 and the remainder is 3.
Division algorithm.
Move 21 to the left side and 3 to the right. Divide 21 by 3. The quotient is 7 and the remainder is 0.
Division algorithm.
The process terminates because the remainder is 0. The last non-zero remainder is 3.
The board shows gcd(10;45) and the worked lines , , and the start of 10 = .
Speaker introduces 10 and 45 as the first example and narrates the Euclidean steps.
Only the first reduction and the setup of the second line are completed in this 0–83-second source interval.
Find gcd(10;45) using the Euclidean algorithm.
The two integers are 10 and 45.
The method to use is the Euclidean algorithm.
Reduce the pair step by step until the remainder becomes 0, thereby identifying the gcd.
Write the larger number as the smaller number times an unknown quotient plus an unknown remainder.
This is the first step of the Euclidean algorithm as explained in the 0–83-second source interval.
Evaluate the division of 45 by 10 to get quotient 4 and remainder 5.
The speaker explicitly identifies q as how many times 10 goes into 45 and r as the remainder.
Begin the next line by moving the old divisor 10 to the left-hand side and preparing to use the old remainder 5 as the new divisor.
The arrows and narration describe the recursive shift pattern of the algorithm.
The 0–83-second source interval establishes the first reduction and starts the next line with 10 = ; the final gcd value 5 is stated verbally earlier but the full algorithm is not completed on screen within this segment.
Within this 0–83-second source interval, verification is partial: the speaker states the answer is 5, and the first division step is consistent with .
The board shows gcd(10;45), , , and .
The narration identifies the preceding nonzero remainder as the answer after the final zero remainder.
The spoken term 'denominator' conflicts with the written gcd notation.
Find gcd(10;45) using the Euclidean algorithm.
The pair is 10 and 45.
The larger number is placed on the left in the division statement.
Determine the greatest common divisor of 10 and 45.
Divide 45 by 10 to obtain quotient 4 and remainder 5.
Direct arithmetic step shown on the board.
Bring the remainder 5 forward as the new divisor and divide 10 by 5.
The speaker explicitly moves 5 into the position previously occupied by 10.
Since the remainder is now 0, use the previous nonzero remainder 5 as the answer.
Termination rule stated verbally and reinforced by boxing 5.
5
The result matches the standard value of gcd(10,45), and the board visually marks 5 as the final selected remainder.
The board shows gcd(1701;3768), , , and .
The narration works through the first two divisions of the larger example and begins the third.
The example is unfinished in this 83–166-second source interval; the last remainder and final gcd are not shown.
Apply the Euclidean algorithm to gcd(1701;3768).
The pair is 1701 and 3768.
The larger number 3768 is used first on the left-hand side.
Carry out successive division steps to find the gcd.
Divide 3768 by 1701 to get quotient 2 and remainder 366.
Written on the board and stated in the audio.
Use 366 as the new divisor and divide 1701 by it to get quotient 4 and remainder 237.
Written on the board and stated in the audio.
Use 237 as the new divisor and begin dividing 366 by it.
The board shows , but the remainder is not completed before the 83–166-second source interval ends.
Not completed within this 83–166-second source interval.
The first two displayed equations are arithmetically correct: and .
gcd(1701; 3768) is written on the board.
The speaker states the problem and solves it step-by-step.
Find the greatest common divisor of 1701 and 3768 using the Euclidean algorithm.
Calculate gcd(1701, 3768).
First division step.
Division algorithm.
Second division step.
Division algorithm.
Third division step.
Division algorithm.
Fourth division step.
Division algorithm.
Fifth division step.
Division algorithm.
Sixth division step.
Division algorithm.
Seventh division step, resulting in a remainder of 0.
Division algorithm.
The last non-zero remainder is the GCD.
Property of the Euclidean algorithm.
3
The video does not show a verification step, such as checking if 3 divides both 1701 and 3768 without a remainder.
At the start, the whiteboard shows the title "THE EUCLIDIAN ALGORITHM" and two expressions: gcd(10;45) and gcd(1701;3768).
Title text "THE EUCLIDIAN ALGORITHM"
Expression gcd(10;45)
Expression gcd(1701;3768)
No writing changes yet; the board presents the topic and two example pairs.
The 0–83-second source interval is framed around gcd computations.
The first example is 10 and 45.
The visual opening establishes that the lesson is about computing greatest common divisors using the Euclidean algorithm, with one small example and one larger example written in advance.
A hand writes and then fills in 4 and 5 to make .
The speaker explains the meaning of q and r while writing.
Equation
Completed equation
The symbolic line progresses from unknown q and r to explicit values 4 and 5.
The left-hand side remains 45.
The divisor remains 10 throughout this first line.
The animation shows the concrete division step that initiates the Euclidean algorithm for the pair (10,45).
Arrows are drawn beneath the completed line to indicate moving 10 leftward and 5 into the next divisor position.
The speaker describes taking the number in one position and moving it to the left-hand side, then moving the remainder to the smaller-number position.
A new line begins with 10 = .
The next equation is not completed before the 0–83-second source interval ends.
Underline/arrows below
New line starting with 10 =
The previous divisor 10 is promoted to the new left-hand side.
The previous remainder 5 is prepared to become the next divisor.
The pattern is iterative: each step uses the previous divisor and remainder.
The process continues until remainder 0.
The visual arrows encode the recurrence relation of the Euclidean algorithm more clearly than the algebra alone.
The number 5 from is boxed, and an arrow links the zero remainder line back to it.
The boxed 5 in
The line
Arrows between lines
After the remainder 0 appears, attention shifts back to the previous remainder 5.
The 5 is enclosed in a box to mark it as the answer.
The original pair gcd(10;45) remains written at the top.
The earlier division equations remain visible while the answer is selected.
The boxing and backward arrow visually encode the stop rule: when a remainder becomes 0, the preceding nonzero remainder is the gcd.
The lower work for the small example is wiped away, leaving the headings gcd(10;45) and gcd(1701;3768), and new writing begins under the larger example.
Whiteboard eraser/cloth
The two gcd headings
New writing area under gcd(1701;3768)
The completed small-example calculations are removed.
The presenter starts a fresh sequence of division lines for the larger pair.
The two problem headings remain on the board.
The method stays the same even though the numbers change.
The visual reset signals that the same algorithm is being reused on a harder numerical instance.
The speaker draws an arrow from the final '0' remainder up to the previous '3' remainder, and then draws a box around the '3'.
Remainder 0
Remainder 3
Arrow
Box
An arrow is drawn from 0 to 3.
A box is drawn around 3.
The sequence of equations remains unchanged.
This visual action emphasizes that the last non-zero remainder (3) is the result of the algorithm, i.e., the greatest common divisor.
The speaker repeatedly says "greatest common denominator".
The board writes gcd(10;45) and gcd(1701;3768).
The spoken phrase "greatest common denominator" may suggest a fraction-related concept rather than the intended greatest common divisor.
The notation gcd and the worked division steps indicate the topic is the greatest common divisor, not a common denominator of fractions.
The title on the board reads "THE EUCLIDIAN ALGORITHM".
The board spelling "EUCLIDIAN" differs from the standard spelling "Euclidean".
The mathematical content still corresponds to the Euclidean algorithm for gcd computation.
The narrator uses the word denominator for the quantity computed by the gcd procedure.
The board writes gcd(10;45) and gcd(1701;3768).
The speaker says 'greatest common denominator' while the board uses gcd notation.
In this context gcd denotes greatest common divisor. The written notation and the procedure match the divisor interpretation, so the spoken word appears to be a verbal slip.
Speaker says the Euclidean algorithm will be used to find the greatest common denominator/divisor.
The board title and gcd notation appear together.
The definition of gcd motivates the need for the Euclidean algorithm as a computational method.
The equation is introduced and then instantiated as .
The speaker defines q and r while writing the equation.
The general division step contains the specific meanings of quotient and remainder used in the example.
After explaining q and r, the speaker says to move the divisor and remainder into the next line.
Arrows show 10 and 5 shifting positions for the next step.
Understanding what the divisor and remainder are is required before applying the recursive shift rule of the Euclidean algorithm.
The board first shows division steps and then boxes the previous remainder once 0 appears.
The narration stops the procedure at a zero remainder and chooses the preceding nonzero value.
The termination rule is applied after the repeated division-with-remainder steps produce a zero remainder.
The narration applies the same procedure to the larger integer pair.
The same line format is reused for 3768 and 1701.
The larger example is a direct reuse of the same Euclidean-algorithm method on bigger integers.
The headings gcd(10;45) and gcd(1701;3768) frame both worked examples.
The written gcd notation identifies the target quantity that the division algorithm is being used to compute.
The speaker explains the general method while performing the specific example.
The example demonstrates the application of the Euclidean algorithm method.
Speaker explains taking the larger number and writing it as the smaller number times q plus r.
The board shows and then .
Speaker says q is how many times 10 goes into 45 and r is the remainder.
Speaker describes moving the divisor to the left-hand side and the remainder to the smaller-number position.
Arrows illustrate the shift into the next line.
Speaker says the greatest common denominator/divisor is the largest number that divides both 10 and 45 evenly.
The spoken term is denominator, but the mathematical context is divisor.
The 5 is boxed after the line appears.
The narrator chooses the preceding nonzero remainder after the final exact division.
The narration sets up 3768 as 1701 times an integer quotient plus a remainder.
The narration describes carrying each divisor and remainder into the next division.
Successive lines replace the old divisor by the previous remainder.
The narration uses the term denominator while discussing gcd.
gcd(10;45)
The entire video is a demonstration of this process.
The narration selects the preceding positive remainder at the end of the calculation.
Covered · Opening title, two gcd examples on the board, verbal definition of the target quantity, and the stated answer 5 for gcd(10;45).
Covered · First Euclidean division line is written and explained: becomes .
Covered · Arrows show the previous divisor and remainder moving into the next division, whose written line starts with 10=.
Covered · Completion of the small example gcd(10;45), including the zero-remainder stop rule and boxed answer.
Covered · The larger example begins with two complete divisions, followed by the start of ; its remainder is completed in the following source interval.
Covered · Demonstration of the Euclidean algorithm steps.
Covered · Identification of the final answer and conclusion.
From 25 to 245 seconds, the source carries two positive-integer remainder chains to a zero remainder: , gives gcd(10,45)=5; the seven-step 3768 and 1701 calculation ends at gcd=3. The source demonstrates the algorithm but does not prove its invariant or termination, so the role is application rather than proof.
From 34 to 245 seconds, the board correctly computes gcd(10,45)=5 and gcd(1701,3768)=3 using complete division chains. The public review corrects the speaker's repeated phrase greatest common denominator to greatest common divisor.
The Euclidean algorithm moves the old divisor to the left-hand side (new dividend) and the old remainder to the smaller-number position (new divisor) to recursively reduce the problem. This shift ensures that each subsequent division step operates on smaller numbers while preserving the greatest common divisor of the original pair, continuing until a remainder of zero is reached.
Conditions: The algorithm is applied to two positive integers.; The previous remainder is not zero.; The process continues until a remainder of 0 is obtained.
To start the Euclidean algorithm for , you write the larger number as the smaller number multiplied by an unknown quotient plus an unknown remainder. Specifically, you set up the division equation .
Conditions: The inputs are positive integers.; The larger number is placed on the left-hand side of the equation.; The quotient is an integer and the remainder satisfies .
To find the greatest common divisor of two large numbers, repeatedly apply the division-with-remainder step. Start by dividing the larger number by the smaller number.
Conditions: The inputs are two positive integers.; The division algorithm is applied at each step.; The process stops when a remainder equals 0.
The speaker verbally says "greatest common denominator," but the mathematical notation on the board is "gcd," which conventionally stands for "greatest common divisor." The context of dividing integers to find a common factor confirms that the intended concept is the greatest common divisor, and the spoken word is a verbal slip.
Conditions: The video discusses finding the common factor of two integers.; The board displays the notation gcd(a;b).; The procedure involves repeated integer division.
In the Euclidean algorithm, the previous divisor becomes the new dividend (placed on the left side of the equation), and the previous remainder becomes the new divisor (placed on the right side). This recursive shift carries the numbers forward so that each step divides the former divisor by the former remainder, continuing until a remainder of zero is reached.
Conditions: The algorithm is applied to positive integers.; The previous remainder is not zero.; The process follows the standard division-with-remainder format .
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.
To begin the Euclidean algorithm for , place the larger number (3768) on the left side of the division equation and the smaller number (1701) as the divisor. Write .
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 .
In the step , represents the quotient, which counts how many whole times the smaller number (10) fits into the larger number (45). represents the remainder, which is the leftover amount after subtracting those whole multiples.
Conditions: The equation is part of the division-with-remainder step of the Euclidean algorithm.; The inputs are positive integers.; The remainder satisfies .