გადაჭერით ნებისმიერი მათემატიკური პრობლემა
ოჲპჲფვნთწ, თჱგჲეთ, თნრვდპალთ, მარპთუთ, რპთყდყლფთუთ, ოპთმთრთგნთ ნჲმვპთ, ჟრართჟრთკა თლთ ჟლჲზვნთვ, კჲვრჲ ოპვოჲეაგა ჟვ ოჲ ოჲლჲზვნთწ.
ჟრყოკა ოჲ ჟრყოკა.
- \gcd(5, 12)
Use Euclid's algorithm: replace the larger number by its remainder on division by the smaller, until the remainder is 0.
- 12 = 2 \times 5 + 2
Divide 12 by 5: quotient 2, remainder 2.
- 5 = 2 \times 2 + 1
Divide 5 by 2: quotient 2, remainder 1.
- 2 = 2 \times 1 + 0
Divide 2 by 1: quotient 2, remainder 0.
- \gcd(5, 12) = 1
The last non-zero remainder is 1.
ჲრკპთირვ ჲრდჲგჲპა.
\gcd(5, 12) = 1