## How to find the Greatest Common Factor of 52 and 58?

There are many methods we can apply to calculate the GCF of 52 and 58.

In our first method, we'll find out the prime factorisation of the 52 and 58 numbers.

In our second method, we'll create a list of all the factors of the 52 and 58 numbers.

These are the numbers that divide the 52 and 58 numbers without a remainder.

Once we have these, all we have to do is to find the one that is the biggest common number from the 2 lists.

Now let's look at each methods, and calculate the GCF of 52 and 58.

#### Methods of calculating the GCF of 52 and 58:

### Method 1 - Prime Factorisation

With the prime factorisation method, all we have to do is to find the common prime factors of 52 and 58, and then multiply them. Really simple:

#### Step 1: Let's create a list of all the prime factors of 52 and 58:

##### Prime factors of 52:

As you can see below, the prime factors of **52** are **2, 2 and 13**.

Let's illustrate the prime factorization of **52** in exponential form:

**52** = 2^{2}x13^{1}

##### Prime factors of 58:

As you can see below, the prime factors of **58** are **2 and 29**.

Let's illustrate the prime factorization of **58** in exponential form:

**58** = 2^{1}x29^{1}

#### Step 2: Write down a list of all the common prime factors of 52 and 58:

As seen in the boxes above, the common prime factors of 52 and 58 are **2**.

#### Step 3: All we have to do now is to multiply these common prime factors:

Find the product of all common prime factors by multiplying them:

2^{1}=**2**

##### Done!

According to our calculations above, the **Greatest Common Factor** of 52 and 58 is **2**

### Method 2 - List of Factors

With this simple method, we'll need to find all the factors of 52 and 58, factors are numbers that divide the another number without a remainder, and simply identify the common ones, then choose which is the largest one.

#### Step 1: Create a list of all the numbers that divide 52 and 58 without a remainder:

List of factors that divide **52** without a remainder are:

**1, 2, 4, 13, 26 and 52**.

List of factors that divide **58** without a remainder are:

**1, 2, 29 and 58**.

#### Step 2: Identify the largest common number from the 2 lists above:

As you can see in the lists of factors from above, for the numbers 52 and 58, we have highlighted the number **2**, which means that we have found the Greatest Common Factor, or GCF.

According to our calculations above, the **Greatest Common Factor of **52 and 58 is **2**

### Method 3 - Euclidean algorithm

The Euclidean algorithm says that if number **k** is the GCM of 52 and 58,
then the number **k** is also the GCM of the division remainder of the numbers 52 and 58.

We follow this procedure until the reminder is 0.

The Greatest Common Divisor is the last nonzero number.

#### Step 1: Sort the numbers into ascending order:

52, 58

#### Step 2

Take out, from the set, the smallers number as you divisor: **52**

The remaining set is: 58

Find the reminder of the division between the number and the divisor

58 mod 52 = 6

Gather the divisor and all of the remainders and sort them in ascending order. Remove any duplicates and 0. Our set is:

6, 52

Repeat the process until there is only one number in the set.

Take out, from the set, the smallers number as you divisor: **6**

The remaining set is: 52

Find the reminder of the division between the number and the divisor

52 mod 6 = 4

Gather the divisor and all of the remainders and sort them in ascending order. Remove any duplicates and 0. Our set is:

4, 6

Repeat the process until there is only one number in the set.

Take out, from the set, the smallers number as you divisor: **4**

The remaining set is: 6

Find the reminder of the division between the number and the divisor

6 mod 4 = 2

Gather the divisor and all of the remainders and sort them in ascending order. Remove any duplicates and 0. Our set is:

2, 4

Repeat the process until there is only one number in the set.

Take out, from the set, the smallers number as you divisor: **2**

The remaining set is: 4

Find the reminder of the division between the number and the divisor

4 mod 2 = 0

Gather the divisor and all of the remainders and sort them in ascending order. Remove any duplicates and 0. Our set is:

2

#### Step 3: Take the remaining number from our set

The **Greatest Common Factor of **52 and 58 is **2**

### Method 4 - Binary Greatest Common Divisor algorithm

The binary GCD algorithm, also known as Stein's algorithm or the binary Euclidean algorithm, is an algorithm that computes the greatest common divisor of two nonnegative integers. Stein's algorithm uses simpler arithmetic operations than the conventional Euclidean algorithm; it replaces division with arithmetic shifts, comparisons, and subtraction.

Although the algorithm in its contemporary form was first published by the Israeli physicist and programmer Josef Stein in 1967, it may have been known by the 2nd century BCE, in ancient China.

#### Step 1: Sort the numbers, and set initial GCF equal to 1

The list: 52, 58

#### Step 2: All of the numbers are even.

Divide all of them by 2 and multiply your GCF by 2.

Remove the duplicates and sort.

Repeat the process if all the numbers are even:

The resulting list: 26, 29

GCF = 1*2 = 2

#### Step 3: Divide all of the remaining even values by 2, remove the duplicates and sort.

Repeat the process if there are even numbers in the list:

26/2 = 13

The resulting list: 13, 29

#### Step 4: Pick the first number, 13.

Subtract 13 from the remaining value(s) and divide the outcome by 2.

Remove the duplicates and sort:

(29-13)/2 = 8

The resulting list: 8, 13

#### Step 5: Divide all of the remaining even values by 2, remove the duplicates and sort.

Repeat the process if there are even numbers in the list:

8/2 = 4

The resulting list: 4, 13

4/2 = 2

The resulting list: 2, 13

2/2 = 1

The resulting list: 1, 13

#### Step 6: Pick the first number, 1.

Subtract 1 from the remaining value(s) and divide the outcome by 2.

Remove the duplicates and sort:

(13-1)/2 = 6

The resulting list: 1, 6

#### Step 7: Divide all of the remaining even values by 2, remove the duplicates and sort.

Repeat the process if there are even numbers in the list:

6/2 = 3

The resulting list: 1, 3

#### Step 8: Pick the first number, 1.

Subtract 1 from the remaining value(s) and divide the outcome by 2.

Remove the duplicates and sort:

(3-1)/2 = 1

The resulting list: 1

#### Step 9: Only one number remains, 1.

Multiply it by your current GCF:

GCF = 2*1 = 2

The **Greatest Common Factor of **52 and 58 is **2**