Solution - Number theory calculator
Step-by-step explanation
1. Identify the problem
Find gcd(2200024200,100000) using the Extended Euclidean Algorithm.
2. Apply the Euclidean algorithm
2200024200 = 100000*22000 + 24200
100000 = 24200*4 + 3200
24200 = 3200*7 + 1800
3200 = 1800*1 + 1400
1800 = 1400*1 + 400
1400 = 400*3 + 200
400 = 200*2 + 0
3. Back-substitute to find coefficients
gcd(2200024200,100000) = 200.
Bezout coefficients: 2200024200*(-219) + 100000*(4818053) = 200.
4. Verify the result
2200024200*(-219) + 100000*(4818053) = 200 = 200. Verified.
Why learn this
Learn more with Tiger
Number theory underlies cryptography, coding theory, and many competitive programming problems.