# Prime factorization of $4089$

The calculator will find the prime factorization of $4089$, with steps shown.

If the calculator did not compute something or you have identified an error, or you have a suggestion/feedback, please write it in the comments below.

Find the prime factorization of $4089$.

### Solution

Start with the number $2$.

Determine whether $4089$ is divisible by $2$.

Since it is not divisible, move to the next prime number.

The next prime number is $3$.

Determine whether $4089$ is divisible by $3$.

It is divisible, thus, divide $4089$ by ${\color{green}3}$: $\frac{4089}{3} = {\color{red}1363}$.

Determine whether $1363$ is divisible by $3$.

Since it is not divisible, move to the next prime number.

The next prime number is $5$.

Determine whether $1363$ is divisible by $5$.

Since it is not divisible, move to the next prime number.

The next prime number is $7$.

Determine whether $1363$ is divisible by $7$.

Since it is not divisible, move to the next prime number.

The next prime number is $11$.

Determine whether $1363$ is divisible by $11$.

Since it is not divisible, move to the next prime number.

The next prime number is $13$.

Determine whether $1363$ is divisible by $13$.

Since it is not divisible, move to the next prime number.

The next prime number is $17$.

Determine whether $1363$ is divisible by $17$.

Since it is not divisible, move to the next prime number.

The next prime number is $19$.

Determine whether $1363$ is divisible by $19$.

Since it is not divisible, move to the next prime number.

The next prime number is $23$.

Determine whether $1363$ is divisible by $23$.

Since it is not divisible, move to the next prime number.

The next prime number is $29$.

Determine whether $1363$ is divisible by $29$.

It is divisible, thus, divide $1363$ by ${\color{green}29}$: $\frac{1363}{29} = {\color{red}47}$.

The prime number ${\color{green}47}$ has no other factors then $1$ and ${\color{green}47}$: $\frac{47}{47} = {\color{red}1}$.

Since we have obtained $1$, we are done.

Now, just count the number of occurences of the divisors (green numbers), and write down the prime factorization: $4089 = 3 \cdot 29 \cdot 47$.

The prime factorization is $4089 = 3 \cdot 29 \cdot 47$A.