HCF of 10 and 15

on Dec 08, 2023 at 12:29 am

Find the greatest common factor of the following numbers: $$10, 15$$.

### Method 1:

$$5$$ is the greatest common divisor of $$10$$ and $$15$$.

The greatest common divisor of two integers is the largest positive integer that divides both integers.

The greatest common divisor of integers $$b$$ and $$a$$ is written as $$\operatorname{gcd}(b,a)$$.

The greatest common divisor can be computed by Euclid's algorithm, which is based on repeated application of the following fact:$\operatorname{gcd}(b, a) = \operatorname{gcd}(a, r)$ where $$r$$ is the remainder of $$b$$ divided by $$a$$, and $$0 < a \le b$$.

Euclid's algorithm for computing the greatest common divisor of $$10$$ and $$15$$:

$$\operatorname{gcd}(15, 10) = \operatorname{gcd}(10, 5)$$, since $$5$$ is the remainder when $$15$$ is divided by $$10$$.

$$\operatorname{gcd}(10, 5) = 5$$, since $$5$$ divides $$10$$.

### Method 2:

The greatest common divisor of two integers is the largest positive integer that divides both integers.

The prime factorization of $10$ is $2 \times 5$.

The prime factorization of $15$ is $3 \times 5$.

The GCD is the minimum of the prime powers of the two numbers. Find the greatest common divisor by multiplying the prime number powers together, including only the lowest prime number power of those prime factors which are common to both numbers.

$\text{gcd}(10, 15) = 5 = 5.$