prime factor of 120 and 180 working?

well, 2 is a prime factor of each

if you want the prime factorization, then
120 = 2^3 * 3 * 5
180 = 2^2 * 3^2 * 5

To find the prime factors of a number, we need to break it down into its prime factors until we cannot divide any further.

Let's find the prime factors of 120:
1. Start by dividing it by the smallest prime number, which is 2: 120 ÷ 2 = 60.
2. Keep dividing by 2 until we can no longer do so: 60 ÷ 2 = 30, 30 ÷ 2 = 15.
3. Now, try dividing by the next prime number, 3: 15 ÷ 3 = 5.
4. We have reached a prime number, which is 5. Therefore, the prime factors of 120 are 2, 2, 2, 3, and 5.

Now, let's find the prime factors of 180:
1. Start with the smallest prime number, 2: 180 ÷ 2 = 90.
2. Divide by 2 again: 90 ÷ 2 = 45.
3. Since 45 is not divisible by 2 anymore, try dividing by 3: 45 ÷ 3 = 15.
4. Continue with division by 3: 15 ÷ 3 = 5.
5. At this point, we have reached a prime number. Therefore, the prime factors of 180 are 2, 2, 3, 3, and 5.

Hence, the prime factors of 120 are 2, 2, 2, 3, and 5, while the prime factors of 180 are 2, 2, 3, 3, and 5.