最大公因數/最大公因子 (GCD) 計算器

逐步求最大公因數

此計算器會對給定的正整數求出其最大公因數/公因子(GCF),並顯示步驟,可使用列舉因數法或質因數分解法。

Enter numbers (comma-separated) or

Your input:

Positive numbers separated by commas, for example, `12,24,32,40,28`.

Choose a method:

If the calculator did not compute something or you have identified an error, or you have a suggestion/feedback, please contact us.

Solution

Your input: find the GCD of $$$30, 60, 45, 105, 25$$$ using factoring.

The GCD of numbers is the largest number that divides all given numbers.

Find the factors/divisors of each number.

  • The factors of $$$\color{Green}{30}$$$: $$$1, 2, 3, \color{Red}{5}, 6, 10, 15, 30$$$
  • The factors of $$$\color{Green}{60}$$$: $$$1, 2, 3, 4, \color{Red}{5}, 6, 10, 12, 15, 20, 30, 60$$$
  • The factors of $$$\color{Green}{45}$$$: $$$1, 3, \color{Red}{5}, 9, 15, 45$$$
  • The factors of $$$\color{Green}{105}$$$: $$$1, 3, \color{Red}{5}, 7, 15, 21, 35, 105$$$
  • The factors of $$$\color{Green}{25}$$$: $$$1, \color{Red}{5}, 25$$$

The greatest common (all numbers share it) factor/divisor is highlighted.

Thus, $$$GCD\left(30, 60, 45, 105, 25\right)=5$$$.

Answer: $$$GCD\left(30, 60, 45, 105, 25\right)=5$$$.


Please try a new game StackedWords