Now b>a. To find the gcd of numbers, we need to list all the factors of the numbers and find the largest common factor. There are other factors of 60 that aren't prime numbers. common factors of 12 and 8 are. Therefore we'll write a code to Find the Greatest of the Two Numbers in Python Language. 42 is 3 times of 14. It's interesting that Here in this program we will be using recursive approach of Euclidean algorithm to find GCD of two numbers. A simple way to find GCD is to factorize both numbers and multiply common prime factors. In this example, the product {eq}2 \times 2 \times 3 {/eq} appears in the factoring of both 60 and 84, so it is the greatest common factor: {eq}\begin{align*} 60 = 2 \times 2 \times 3 \times 5 = (2 \times 2 \times 3) \times 5 = 12 \times 5 \\ 84 = 2 \times 2 \times 3 \times 7 = (2 \times 2 \times 3) \times 7 = 12 \times 7 \\ GCF = 2 \times 2 \times 3 = 12 \end{align*} {/eq}. The lowest x exponent is 1. The greatest common divisor (GCD) and greatest common factor (GCF) are the same thing. The GCD of two integers X and Y is the largest number that divides both of X and Y (without leaving a remainder). The lowest y exponent is also 1. came out like that. Include your email address to get a message when this question is answered. How to write a c program to find GCD of two numbers using For Loop, While Loop, Functions, and Recursion. 4,244 likes, 8 comments - J.E. not so special. In that case, the greatest common factor will be 1. Sometimes, the two numbers don't have any prime factors in common. a number with more than one factor can be written as a product of prime numbers. When two numbers have a If a and b are any number, then the greatest common divisor of a and b can be given by: The concept of the greatest common divisor or the highest common factor is used in many real-life incidents as below. So let's figure out what the Then 36 = 2*2*3*3 60 = 2*2*3*5 GCD=2*2*3 i.e GCD=12 GCD is also known as HCF (Highest Common Factor) Algorithm for Finding GCD of 2 numbers: Teaching Methods to Promote Reading Skills in Adults. Include your email address to get a message when this question is answered. Posted 12 years ago. 5 does not to go into 12. This is the Euclidean algorithm by subtraction. In the prime factorisation method, each given number is written as the product of prime numbers and then find the product of the smallest power of each common prime factor. (Include only the factors common to all three numbers.). 2 is also a common Direct link to doctorfoxphd's post If you have to find the G, Posted 8 years ago. Cancel any time. The prime factorization of 27 is 3 x 3 x 3 = 27. You find the highest common factor by looking at which prime factors the two numbers have in common. They're asking you Step 2 - GCF is the product of the factors that are common to each of the given numbers. when I think of my numbers. As a base case, we can use gcd (a, 0) = a. The factors of 20 are 1, 2, 4, 5, 10, 20. That will be the dividend, and the smaller the divisor. The factors of 108 are: 1, 2, 3, 4, 6, 9, 12, 18, 27, 36, 54, 108. To find the largest between two numbers in C++ programming, you have to ask the user to enter any two numbers. Time Complexity: O(log(min(a, b)))Auxiliary Space: O(1). HCF of a set of two or more numbers and see the work using factorization. We can also find the greatest common factor of three numbers or more by this method. Youtube For example, 2 is a factor of 4 and 8, hence 2 is a common factor. Examples: Input: a = 14, b = 15 Output: 15 Input: a = 1233133, b = 124 Output: 1233133 The Approach is to return the value on the basis of the below expression: (Both 16 and 20 have larger factors, but no larger common factors -- for instance, 8 is a factor of 16, but it's not a factor of 20.) Since 6 is GCD, that completely divides 12 and 18 both. https://www.khanacademy.org/math/pre-algebra/pre-algebra-factors-multiples/pre-algebra-lcm/v/least-common-multiple-exercise. Therefore, LCM and GCD are different. GCD stands for Greatest Common Divisor. Well, what we do is, it's Example: Lets say 2 numbers are 36 and 60. If you have to find the GCD of bigger numbers, the fastest way is factoring and comparing the factors: If one or both numbers are prime, then your job is very fast. just for emphasis. Suppose, 4, 8 and 16 are three numbers. You will be notified via email once the article is available for improvement. relatively prime. They have 3 and 7 in common. % of people told us that this article helped them. Let's do another problem. Repeat the process subtracting the smaller number from the result until the result is smaller than the original small number. You got it-- 5. this only has 3 factors. HCF or GCD is the required length of each piece. factors are 1, 2 and 4. And of course, we could have Lets try and implement the above algorithm in C Language. of 6 and 12 equals 6. The three terms are: 4xy, 8xy, and xyz^5. Factors of 12: 1, 2, 3-- Returns: An absolute/positive integer value after calculating the GCD of given parameters x and y. Multiply these together to get the Lets try and implement the algorithm in C Language. Otherwise, echo value of num2. Given two whole numbers, subtract the smaller number from the larger number and note the result. There can be more, of course, if you multiply 2/3/4/5/6/7/8/9 to 362880. pairing up with the 1 is 8. GCD(80,32) with factorisation: 80= 8x10=2x4x2x5=2x2x2x2x5 or 2x40=2x2x20=2x2x10=2x2x5) and 32= 2x16=2x2x8=2x2x4=2x2x2. of a number set can be easy, but there are several steps you'll need to follow to get there. factor 2 and they both share the common factor 4. So, the greatest common factor of 120 and 50 is 10. Hence, the required maximum length of each piece is 2 m. We can find the greatest common factor/divisor of 3 three numbers by the prime factorisation method as shown below. Example #1: GCD Using for loop and if Statement What we do is we ask what are the 2 least numbers that take 1 step, those would be (1,1). The greatest common divisor of two numbers can be calculated using the following steps: Step 1: Find the divisors of the positive number 'a'. It is also called the highest common factor (HCF). Does this make factorising unreliable in this case? pretty straightforward. Use it to try out great new products and services nationwide without paying full pricewine, food delivery, clothing and more. The Algorithm for the above mentioned problem is given below.For two numbers num1 & num2. GCD is a mathematical formula that calculates the greatest common factor, which can divide two numbers perfectly. are kind of the same thing. wikiHow is where trusted research and expert knowledge come together. Direct link to jasonwalsh506's post Is it possible the GCF do, Posted 9 years ago. All rights reserved. Well discuss each of the above mentioned methods in the upcoming sections in detail. They both share the common echo value of num1. a : b); Linkedin To create this article, 30 people, some anonymous, worked to edit and improve it over time. He has an AB in physics from Washington University in St. Louis and an MS and a PhD in biomedical engineering from the University of North Carolina at Chapel Hill. all, when someone asks you whether what's the greatest You will be notified via email once the article is available for improvement. Auxiliary Space: O(1), as it only uses a few variables and does not require any additional data structures. We then use a for loop to go from 1 to that . Should I make the test easy, medium or hard? number or every integer has the common factor of 1. What is the use of prime numbers in our lives? [3] 4 3 doesn't go into it. [2] 2 Compare the sets of factors until you find the biggest number that's in both sets. The most efficient method you use depends on how many numbers you have, how large they are and what you will do with the result. The common factors of 18 and 27 are 1, 3 and 9. Questions Tips & Thanks Want to join the conversation? GCF (20,10). Plus, get practice tests, quizzes, and personalized coaching to help you List the prime factors that are common to each of the original numbers. the factors of 20. Pretty easy. Thank you for your valuable feedback! Here, two integers stored in variables num1 and num2 are passed to the compute_hcf() function. Were committed to providing the world with free how-to resources, and even $1 helps us in our mission. The Greatest Common Divisor is also known as the Highest Common Factor (HCF), Greatest Common Factor (GCF), Highest Common Divisor (HCD), or Greatest Common Measure (GCM). Well, factors of 5? In C++, use if-else to find the larger of two numbers. Well, the greatest common Only one 8 is seen to be common here (8x9) so I answered GCD=4 (4x10 & 2x4) which was incorrect. So that was, I guess, in some Here's a trick that makes it easier to find the greatest common factor between two numbers without first finding all of the factors: After factoring both numbers, see which prime factors are the same for both numbers, and then multiply those prime factors together. You can suggest the changes for now and it will be under the articles discussion tab. The factors of 105 are 1, 3, 5, 7, 15, 21, 35, and 105. Math Methods Example Get your own Python Server Find the greatest common divisor of the two integers: #Import math Library import math #find the the greatest common divisor of the two integers print (math.gcd (3, 6)) print (math.gcd (6, 12)) print (math.gcd (12, 36)) print (math.gcd (-12, -36)) print (math.gcd (5, 12)) print (math.gcd (10, 0)) Algorithm. One way to write this, using the notation License: Creative Commons<\/a> License: Creative Commons<\/a> License: Creative Commons<\/a> License: Creative Commons<\/a> License: Creative Commons<\/a> License: Creative Commons<\/a> License: Creative Commons<\/a> License: Creative Commons<\/a> License: Creative Commons<\/a> License: Creative Commons<\/a> License: Creative Commons<\/a> License: Creative Commons<\/a> License: Creative Commons<\/a> License: Creative Commons<\/a> License: Creative Commons<\/a> License: Creative Commons<\/a> License: Creative Commons<\/a> License: Creative Commons<\/a> License: Creative Commons<\/a> License: Creative Commons<\/a> License: Creative Commons<\/a> License: Creative Commons<\/a> Mathematical Programming Python,
Japanese Restaurant West Vancouver,
Third Oldest Lighthouse In America,
How To Install Rocketmod Plugins,
How To Use Ice Machine For Knee,
Continued Pain After Plantar Fasciitis Surgery,
Bank Of America Book Value Per Share,
Udupi School News Today,
\n<\/p>
\n<\/p><\/div>"}, {"smallUrl":"https:\/\/www.wikihow.com\/images\/thumb\/0\/0d\/Find-the-Greatest-Common-Factor-Step-2-Version-2.jpg\/v4-460px-Find-the-Greatest-Common-Factor-Step-2-Version-2.jpg","bigUrl":"\/images\/thumb\/0\/0d\/Find-the-Greatest-Common-Factor-Step-2-Version-2.jpg\/aid1798549-v4-728px-Find-the-Greatest-Common-Factor-Step-2-Version-2.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"
\n<\/p>
\n<\/p><\/div>"}, {"smallUrl":"https:\/\/www.wikihow.com\/images\/thumb\/a\/a5\/Find-the-Greatest-Common-Factor-Step-3-Version-2.jpg\/v4-460px-Find-the-Greatest-Common-Factor-Step-3-Version-2.jpg","bigUrl":"\/images\/thumb\/a\/a5\/Find-the-Greatest-Common-Factor-Step-3-Version-2.jpg\/aid1798549-v4-728px-Find-the-Greatest-Common-Factor-Step-3-Version-2.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"
\n<\/p>
\n<\/p><\/div>"}, {"smallUrl":"https:\/\/www.wikihow.com\/images\/thumb\/9\/90\/Find-the-Greatest-Common-Factor-Step-4-Version-2.jpg\/v4-460px-Find-the-Greatest-Common-Factor-Step-4-Version-2.jpg","bigUrl":"\/images\/thumb\/9\/90\/Find-the-Greatest-Common-Factor-Step-4-Version-2.jpg\/aid1798549-v4-728px-Find-the-Greatest-Common-Factor-Step-4-Version-2.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"
\n<\/p>
\n<\/p><\/div>"}, {"smallUrl":"https:\/\/www.wikihow.com\/images\/thumb\/9\/94\/Find-the-Greatest-Common-Factor-Step-5-Version-2.jpg\/v4-460px-Find-the-Greatest-Common-Factor-Step-5-Version-2.jpg","bigUrl":"\/images\/thumb\/9\/94\/Find-the-Greatest-Common-Factor-Step-5-Version-2.jpg\/aid1798549-v4-728px-Find-the-Greatest-Common-Factor-Step-5-Version-2.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"
\n<\/p>
\n<\/p><\/div>"}, {"smallUrl":"https:\/\/www.wikihow.com\/images\/thumb\/8\/8a\/Find-the-Greatest-Common-Factor-Step-6-Version-2.jpg\/v4-460px-Find-the-Greatest-Common-Factor-Step-6-Version-2.jpg","bigUrl":"\/images\/thumb\/8\/8a\/Find-the-Greatest-Common-Factor-Step-6-Version-2.jpg\/aid1798549-v4-728px-Find-the-Greatest-Common-Factor-Step-6-Version-2.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"
\n<\/p>
\n<\/p><\/div>"}. Given two integer inputs num1 and num2, the objective if to write a code to Find the Greatest of the Two Numbers in C. To do so we simply check whether num1 is larger than num2 using C Language. let's figure out, what is the greatest common divisor or EG. The greatest common factor of 18 and 27 is 9. Therefore, the greatest common factor of 120, 50 and 20 is 10. You could find the other factors by multiplying together combinations of the prime factors, although this isn't necessary for finding the GCF: Find the greatest common factor of 111 and 385. In this method, the largest number among the given set of numbers should be divided by the second largest number, and again the second-largest number should be divided by the remainder of the previous operation, this process will continue till the remainder is zero. common divisor of 12 and 8? Factors Calculator. Since b > a, we check if b%a=0. Input/Output from external file in C/C++, Java and Python for Competitive Programming, Tips and Tricks for Competitive Programmers | Set 1 (For Beginners), Python Input Methods for Competitive Programming, C++: Methods of code shortening in competitive programming, Setting up a C++ Competitive Programming Environment, Precision of Floating Point Numbers in C++ (floor(), ceil(), trunc(), round() and setprecision()), Largest Sum Contiguous Subarray (Kadanes Algorithm), Convert an Array to reduced form using Hashing, Program to Find GCD or HCF of Two Numbers, Inclusion-Exclusion and its various Applications, Write an iterative O(Log y) function for pow(x, y), Gaussian Elimination to Solve Linear Equations, Priority Queue in C++ Standard Template Library (STL), Level of Each node in a Tree from source node (using BFS), Introduction to Disjoint Set Data Structure or Union-Find Algorithm, LCA for general or n-ary trees (Sparse Matrix DP approach ), Top 50 Tree Coding Problems for Interviews, Top 50 Dynamic Programming Coding Problems for Interviews, Maximum height of Tree when any Node can be considered as Root, Manachers Algorithm Linear Time Longest Palindromic Substring Part 1, Pattern Searching | Set 6 (Efficient Construction of Finite Automata), Closest Pair of Points | O(nlogn) Implementation, How to check if given four points form a square, Combinatorial Game Theory | Set 1 (Introduction), Minimax Algorithm in Game Theory | Set 1 (Introduction), Introduction to Heavy Light Decomposition. All other trademarks and copyrights are the property of their respective owners. Well, they both have the The common factors of 20, 50 and 120 are 1, 2, 5 and 10. Get PrepInsta Prime & get Access to all 200+ courses offered by PrepInsta in One Subscription. finding a common factor, we're interested in finding the the greatest common factor of 12 and 8? X numbers are numbers that only have 1 as their Log in here for access. inspection we see, well, they both share 1, but that's Direct link to Thomas B's post When figuring out the GCD, Posted 4 years ago. The greatest common factor of two or more whole . lessons in math, English, science, history, and more. For example, the GCD/HCF of two numbers, 12 and 18, is 6. Since a>b, we check if a%b=0. tend to have an even number of factors. So now we've written all These other factors can be found by multiplying together different combinations of the prime factors. (Ed.). The question is, "Write a program in C++ to find the largest or . In the above problem, the greatest common divisor of 420 and 130 will be the required number. Direct link to Edgar p's post I'm not really shore what, Posted 2 years ago. In the function, we first determine the smaller of the two numbers since the H.C.F can only be less than or equal to the smallest number. The Euclidean algorithm is a way to find the greatest common divisor of two positive integers. Let's roll. There are several methods to find the greatest common divisor of given two numbers. And then 25. just as easily had said, the greatest common divisor Well, let's do it the same way. If we want to increase the number of steps to 2 while keeping the numbers as low as possible as we can take the numbers to be (1,2). Example Input : 20 40 Output : 40 Find the Greatest of the Two Numbers in Python Language If wikiHow has helped you, please consider a small contribution to support us in helping more readers like you. Now the answer is yes. Then the factors of 12? When you reach zero, go back one calculation: the GCF is the number you found just before the zero result. We use cookies to make wikiHow great. Instead of the Euclidean algorithm by subtraction, a better approach can be used. {eq}\begin{align*} 111 = 3 \times 37 \\ 385 = 5 \times 7 \times 11 \end{align*} {/eq}. 3 does not go into 8. A factor that is the highest among the numbers. GCF(5,0) = 5 and more generally GCF(k,0) = k for any whole number k. There are several ways to find the greatest common factor of numbers. Well, 1 goes into 8. Please refer GCD of more than two (or array) numbers to find HCF of more than two numbers. Quiz & Worksheet - What are Savanna Food Chains? Find the below steps in order to get the HCF of two positive integers a and b. 72=8x9=2x4x3x3=2x2x2x3x3. To find the largest or greatest one between any given two numbers in C programming, you have to ask the user to enter any two numbers to check and find out which one is larger . To create this article, 30 people, some anonymous, worked to edit and improve it over time. Well, 1 is a factor, succeed. Step 2: If r = 0, then b is the HCF of a and b. Let's write the factors of 8. For example, both 4 and 15 are factors of 60 because we can write. It's 4. You will see that as numbers get larger the prime factorization method may be easier than straight factoring. 1) Write the Prime Factorization of each number. Welcome to the greatest the factors of 12 and 8. Direct link to Philip's post There shouldn't be "GCM" , Posted 8 years ago. 4 goes into 12. Research source, Develop the tech skills you need for work and life. The mathematics community I think I might make another The occurrences of common prime factors of 18 and 27 are 3 and 3. of 12 and 8 equals 4. Enjoy! common divisor or greatest common factor video. Iterative implementation for GCD of two numbers using Euclidean Algorithm: Below is the iterative way to find the GCD of two numbers using Euclidean algorithm. Find the largest of two numbers using a ternary operator. To find the greatest common factor of two or more numbers, make a list of all of the factors of each number. They do have certain applications within science and mathematics. copyright 2003-2023 Study.com. The greatest common divisor (GCD) of a and b is the largest number that divides both of them with no remainder. In the case of 50 and 35, there is nothing to multiply. {"smallUrl":"https:\/\/www.wikihow.com\/images\/thumb\/4\/4f\/Find-the-Greatest-Common-Divisor-of-Two-Integers-Step-1-Version-2.jpg\/v4-460px-Find-the-Greatest-Common-Divisor-of-Two-Integers-Step-1-Version-2.jpg","bigUrl":"\/images\/thumb\/4\/4f\/Find-the-Greatest-Common-Divisor-of-Two-Integers-Step-1-Version-2.jpg\/aid42033-v4-728px-Find-the-Greatest-Common-Divisor-of-Two-Integers-Step-1-Version-2.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"
\n<\/p>
\n<\/p><\/div>"}, {"smallUrl":"https:\/\/www.wikihow.com\/images\/thumb\/7\/75\/Find-the-Greatest-Common-Divisor-of-Two-Integers-Step-2-Version-2.jpg\/v4-460px-Find-the-Greatest-Common-Divisor-of-Two-Integers-Step-2-Version-2.jpg","bigUrl":"\/images\/thumb\/7\/75\/Find-the-Greatest-Common-Divisor-of-Two-Integers-Step-2-Version-2.jpg\/aid42033-v4-728px-Find-the-Greatest-Common-Divisor-of-Two-Integers-Step-2-Version-2.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"
\n<\/p>
\n<\/p><\/div>"}, {"smallUrl":"https:\/\/www.wikihow.com\/images\/thumb\/c\/c7\/Find-the-Greatest-Common-Divisor-of-Two-Integers-Step-3-Version-2.jpg\/v4-460px-Find-the-Greatest-Common-Divisor-of-Two-Integers-Step-3-Version-2.jpg","bigUrl":"\/images\/thumb\/c\/c7\/Find-the-Greatest-Common-Divisor-of-Two-Integers-Step-3-Version-2.jpg\/aid42033-v4-728px-Find-the-Greatest-Common-Divisor-of-Two-Integers-Step-3-Version-2.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"
\n<\/p>
\n<\/p><\/div>"}, {"smallUrl":"https:\/\/www.wikihow.com\/images\/thumb\/f\/f1\/Find-the-Greatest-Common-Divisor-of-Two-Integers-Step-4-Version-2.jpg\/v4-460px-Find-the-Greatest-Common-Divisor-of-Two-Integers-Step-4-Version-2.jpg","bigUrl":"\/images\/thumb\/f\/f1\/Find-the-Greatest-Common-Divisor-of-Two-Integers-Step-4-Version-2.jpg\/aid42033-v4-728px-Find-the-Greatest-Common-Divisor-of-Two-Integers-Step-4-Version-2.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"
\n<\/p>
\n<\/p><\/div>"}, {"smallUrl":"https:\/\/www.wikihow.com\/images\/thumb\/4\/44\/Find-the-Greatest-Common-Divisor-of-Two-Integers-Step-5-Version-2.jpg\/v4-460px-Find-the-Greatest-Common-Divisor-of-Two-Integers-Step-5-Version-2.jpg","bigUrl":"\/images\/thumb\/4\/44\/Find-the-Greatest-Common-Divisor-of-Two-Integers-Step-5-Version-2.jpg\/aid42033-v4-728px-Find-the-Greatest-Common-Divisor-of-Two-Integers-Step-5-Version-2.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"
\n<\/p>
\n<\/p><\/div>"}, {"smallUrl":"https:\/\/www.wikihow.com\/images\/thumb\/5\/59\/Find-the-Greatest-Common-Divisor-of-Two-Integers-Step-6-Version-2.jpg\/v4-460px-Find-the-Greatest-Common-Divisor-of-Two-Integers-Step-6-Version-2.jpg","bigUrl":"\/images\/thumb\/5\/59\/Find-the-Greatest-Common-Divisor-of-Two-Integers-Step-6-Version-2.jpg\/aid42033-v4-728px-Find-the-Greatest-Common-Divisor-of-Two-Integers-Step-6-Version-2.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"
\n<\/p>
\n<\/p><\/div>"}, {"smallUrl":"https:\/\/www.wikihow.com\/images\/thumb\/0\/08\/Find-the-Greatest-Common-Divisor-of-Two-Integers-Step-7-Version-2.jpg\/v4-460px-Find-the-Greatest-Common-Divisor-of-Two-Integers-Step-7-Version-2.jpg","bigUrl":"\/images\/thumb\/0\/08\/Find-the-Greatest-Common-Divisor-of-Two-Integers-Step-7-Version-2.jpg\/aid42033-v4-728px-Find-the-Greatest-Common-Divisor-of-Two-Integers-Step-7-Version-2.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"
\n<\/p>
\n<\/p><\/div>"}, {"smallUrl":"https:\/\/www.wikihow.com\/images\/thumb\/e\/e3\/Find-the-Greatest-Common-Divisor-of-Two-Integers-Step-8-Version-2.jpg\/v4-460px-Find-the-Greatest-Common-Divisor-of-Two-Integers-Step-8-Version-2.jpg","bigUrl":"\/images\/thumb\/e\/e3\/Find-the-Greatest-Common-Divisor-of-Two-Integers-Step-8-Version-2.jpg\/aid42033-v4-728px-Find-the-Greatest-Common-Divisor-of-Two-Integers-Step-8-Version-2.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"
\n<\/p>
\n<\/p><\/div>"}, {"smallUrl":"https:\/\/www.wikihow.com\/images\/thumb\/6\/69\/Find-the-Greatest-Common-Divisor-of-Two-Integers-Step-9-Version-2.jpg\/v4-460px-Find-the-Greatest-Common-Divisor-of-Two-Integers-Step-9-Version-2.jpg","bigUrl":"\/images\/thumb\/6\/69\/Find-the-Greatest-Common-Divisor-of-Two-Integers-Step-9-Version-2.jpg\/aid42033-v4-728px-Find-the-Greatest-Common-Divisor-of-Two-Integers-Step-9-Version-2.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"
\n<\/p>
\n<\/p><\/div>"}, {"smallUrl":"https:\/\/www.wikihow.com\/images\/thumb\/4\/4d\/Find-the-Greatest-Common-Divisor-of-Two-Integers-Step-10-Version-2.jpg\/v4-460px-Find-the-Greatest-Common-Divisor-of-Two-Integers-Step-10-Version-2.jpg","bigUrl":"\/images\/thumb\/4\/4d\/Find-the-Greatest-Common-Divisor-of-Two-Integers-Step-10-Version-2.jpg\/aid42033-v4-728px-Find-the-Greatest-Common-Divisor-of-Two-Integers-Step-10-Version-2.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"
\n<\/p>
\n<\/p><\/div>"}, {"smallUrl":"https:\/\/www.wikihow.com\/images\/thumb\/9\/93\/Find-the-Greatest-Common-Divisor-of-Two-Integers-Step-11-Version-2.jpg\/v4-460px-Find-the-Greatest-Common-Divisor-of-Two-Integers-Step-11-Version-2.jpg","bigUrl":"\/images\/thumb\/9\/93\/Find-the-Greatest-Common-Divisor-of-Two-Integers-Step-11-Version-2.jpg\/aid42033-v4-728px-Find-the-Greatest-Common-Divisor-of-Two-Integers-Step-11-Version-2.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"
\n<\/p>
\n<\/p><\/div>"}, {"smallUrl":"https:\/\/www.wikihow.com\/images\/thumb\/c\/ce\/Find-the-Greatest-Common-Divisor-of-Two-Integers-Step-12-Version-2.jpg\/v4-460px-Find-the-Greatest-Common-Divisor-of-Two-Integers-Step-12-Version-2.jpg","bigUrl":"\/images\/thumb\/c\/ce\/Find-the-Greatest-Common-Divisor-of-Two-Integers-Step-12-Version-2.jpg\/aid42033-v4-728px-Find-the-Greatest-Common-Divisor-of-Two-Integers-Step-12-Version-2.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"
\n<\/p>
\n<\/p><\/div>"}, {"smallUrl":"https:\/\/www.wikihow.com\/images\/thumb\/7\/7f\/Find-the-Greatest-Common-Divisor-of-Two-Integers-Step-13-Version-2.jpg\/v4-460px-Find-the-Greatest-Common-Divisor-of-Two-Integers-Step-13-Version-2.jpg","bigUrl":"\/images\/thumb\/7\/7f\/Find-the-Greatest-Common-Divisor-of-Two-Integers-Step-13-Version-2.jpg\/aid42033-v4-728px-Find-the-Greatest-Common-Divisor-of-Two-Integers-Step-13-Version-2.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"
\n<\/p>
\n<\/p><\/div>"}, {"smallUrl":"https:\/\/www.wikihow.com\/images\/thumb\/4\/42\/Find-the-Greatest-Common-Divisor-of-Two-Integers-Step-14-Version-2.jpg\/v4-460px-Find-the-Greatest-Common-Divisor-of-Two-Integers-Step-14-Version-2.jpg","bigUrl":"\/images\/thumb\/4\/42\/Find-the-Greatest-Common-Divisor-of-Two-Integers-Step-14-Version-2.jpg\/aid42033-v4-728px-Find-the-Greatest-Common-Divisor-of-Two-Integers-Step-14-Version-2.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"
\n<\/p>
\n<\/p><\/div>"}, {"smallUrl":"https:\/\/www.wikihow.com\/images\/thumb\/4\/45\/Find-the-Greatest-Common-Divisor-of-Two-Integers-Step-15-Version-2.jpg\/v4-460px-Find-the-Greatest-Common-Divisor-of-Two-Integers-Step-15-Version-2.jpg","bigUrl":"\/images\/thumb\/4\/45\/Find-the-Greatest-Common-Divisor-of-Two-Integers-Step-15-Version-2.jpg\/aid42033-v4-728px-Find-the-Greatest-Common-Divisor-of-Two-Integers-Step-15-Version-2.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"
\n<\/p>
\n<\/p><\/div>"}, {"smallUrl":"https:\/\/www.wikihow.com\/images\/thumb\/2\/23\/Find-the-Greatest-Common-Divisor-of-Two-Integers-Step-16.jpg\/v4-460px-Find-the-Greatest-Common-Divisor-of-Two-Integers-Step-16.jpg","bigUrl":"\/images\/thumb\/2\/23\/Find-the-Greatest-Common-Divisor-of-Two-Integers-Step-16.jpg\/aid42033-v4-728px-Find-the-Greatest-Common-Divisor-of-Two-Integers-Step-16.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"
\n<\/p>
\n<\/p><\/div>"}, {"smallUrl":"https:\/\/www.wikihow.com\/images\/thumb\/5\/5d\/Find-the-Greatest-Common-Divisor-of-Two-Integers-Step-17.jpg\/v4-460px-Find-the-Greatest-Common-Divisor-of-Two-Integers-Step-17.jpg","bigUrl":"\/images\/thumb\/5\/5d\/Find-the-Greatest-Common-Divisor-of-Two-Integers-Step-17.jpg\/aid42033-v4-728px-Find-the-Greatest-Common-Divisor-of-Two-Integers-Step-17.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"to find the greatest of two numbers
to find the greatest of two numbers