حل أي مشكلة رياضية

معادلات، مشتقات، متكاملة، مصفوفات، مثلثات، الأعداد الأولية، الإحصاءات، أو مشكلة كلمة يقسم المعلم إلى أجزاء.

Gcd(8, 12)

8,\ 12

خطوة خطوة

  1. \gcd(8, 12)

    Use Euclid's algorithm: replace the larger number by its remainder on division by the smaller, until the remainder is 0.

  2. 12 = 1 \times 8 + 4

    Divide 12 by 8: quotient 1, remainder 4.

  3. 8 = 2 \times 4 + 0

    Divide 8 by 4: quotient 2, remainder 0.

  4. \gcd(8, 12) = 4

    The last non-zero remainder is 4.

كشفت الإجابة
\gcd(8, 12) = 4