## How to find the Greatest Common Factor of 77 and 87?

There are many methods we can apply to calculate the GCF of 77 and 87.

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

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

These are the numbers that divide the 77 and 87 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 77 and 87.

### Method 1 - Prime Factorisation

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

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

##### Prime factors of 77:

As you can see below, the prime factors of 77 are 7 and 11.

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

77 = 71x111

##### Prime factors of 87:

As you can see below, the prime factors of 87 are 3 and 29.

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

87 = 31x291

#### Step 2: Write down a list of all the common prime factors of 77 and 87:

As seen in the boxes above, the common prime factors of 77 and 87 are 1.

#### 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:

11=1

##### Done!

According to our calculations above, the Greatest Common Factor of 77 and 87 is 1

### Method 2 - List of Factors

With this simple method, we'll need to find all the factors of 77 and 87, 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 77 and 87 without a remainder:

List of factors that divide 77 without a remainder are:

1, 7, 11 and 77.

List of factors that divide 87 without a remainder are:

1, 3, 29 and 87.

#### 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 77 and 87, we have highlighted the number 1, which means that we have found the Greatest Common Factor, or GCF.

According to our calculations above, the Greatest Common Factor of 77 and 87 is 1

### Method 3 - Euclidean algorithm

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

We follow this procedure until the reminder is 0.

The Greatest Common Divisor is the last nonzero number.

77, 87

#### Step 2

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

The remaining set is: 87

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

87 mod 77 = 10

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

10, 77

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

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

The remaining set is: 77

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

77 mod 10 = 7

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

7, 10

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

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

The remaining set is: 10

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

10 mod 7 = 3

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

3, 7

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

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

The remaining set is: 7

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

7 mod 3 = 1

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

1, 3

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

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

The remaining set is: 3

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

3 mod 1 = 0

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

1

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

The Greatest Common Factor of 77 and 87 is 1

### 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.

The list: 77, 87

#### Step 2: Pick the first number, 77. Subtract 77 from the remaining value(s) and divide the outcome by 2. Remove the duplicates and sort:

(87-77)/2 = 5

The resulting list: 5, 77

#### Step 3: Pick the first number, 5. Subtract 5 from the remaining value(s) and divide the outcome by 2. Remove the duplicates and sort:

(77-5)/2 = 36

The resulting list: 5, 36

#### Step 4: 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:

36/2 = 18

The resulting list: 5, 18

18/2 = 9

The resulting list: 5, 9

#### Step 5: Pick the first number, 5. Subtract 5 from the remaining value(s) and divide the outcome by 2. Remove the duplicates and sort:

(9-5)/2 = 2

The resulting list: 2, 5

#### Step 6: 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:

2/2 = 1

The resulting list: 1, 5

#### Step 7: Pick the first number, 1. Subtract 1 from the remaining value(s) and divide the outcome by 2. Remove the duplicates and sort:

(5-1)/2 = 2

The resulting list: 1, 2

#### Step 8: 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:

2/2 = 1

The resulting list: 1

#### Step 9: Only one number remains, 1. Multiply it by your current GCF:

GCF = 1*1 = 1

The Greatest Common Factor of 77 and 87 is 1