TanroMath

Trang chủ / Công cụTools

🧮 GCD, LCM & Prime FactorizationGCD, LCM & Prime Factorization

Phân tích nhiều số ra thừa số nguyên tố, đếm số ước, tìm ước chung lớn nhất và bội chung nhỏ nhất kèm cách làm.Factor several numbers into primes, count their divisors, and find the greatest common divisor and least common multiple with the method shown.

Đang tải công cụ… / Loading…

Cách làm bằng tay

  1. Phân tích mỗi số ra thừa số nguyên tố, ví dụ $36 = 2^2 \cdot 3^2$, $48 = 2^4 \cdot 3$.
  2. ƯCLN: chọn các thừa số chung, mỗi thừa số lấy số mũ nhỏ nhất: $2^2 \cdot 3 = 12$.
  3. BCNN: chọn tất cả thừa số, lấy số mũ lớn nhất: $2^4 \cdot 3^2 = 144$.

Với hai số: $\text{ƯCLN}(a,b) \cdot \text{BCNN}(a,b) = a \cdot b$. Số ước của $p^a q^b \cdots$ là $(a+1)(b+1)\cdots$.

By hand

  1. Factor each number into primes, e.g. $36 = 2^2 \cdot 3^2$, $48 = 2^4 \cdot 3$.
  2. GCD: take the common primes with the smallest exponents: $2^2 \cdot 3 = 12$.
  3. LCM: take all primes with the largest exponents: $2^4 \cdot 3^2 = 144$.

For two numbers, $\gcd(a,b) \cdot \operatorname{lcm}(a,b) = ab$. The number of divisors of $p^a q^b \cdots$ is $(a+1)(b+1)\cdots$.