Fraction simplification
- Input
- MDC(36, 24)
- Expected output
- 12
36/24 simplifies to 3/2.
GCD of two numbers Euclidean algorithm
The Euclidean algorithm computes GCD(a, b) in O(log min(a,b)) steps — one of the oldest and most efficient algorithms in mathematics.
36/24 simplifies to 3/2.
GCD=1 means they are coprime.
GCD (Greatest Common Divisor) is the largest positive integer that divides all numbers in the set without a remainder. For example, GCD(12, 18) = 6.
Two integers are coprime (relatively prime) when their GCD is 1. E.g. 8 and 9 are coprime.
No. It helps explain the scenario and use the tool more safely, but real decisions should consider official sources, full context and qualified guidance when needed.
Numbers
All values stay in your browser. No data is sent to any server.