Solution - Number theory calculator
Step-by-step explanation
1. Identify the problem
Find gcd(984153645,10000) using the Extended Euclidean Algorithm.
2. Apply the Euclidean algorithm
984153645 = 10000*98415 + 3645
10000 = 3645*2 + 2710
3645 = 2710*1 + 935
2710 = 935*2 + 840
935 = 840*1 + 95
840 = 95*8 + 80
95 = 80*1 + 15
80 = 15*5 + 5
15 = 5*3 + 0
3. Back-substitute to find coefficients
gcd(984153645,10000) = 5.
Bezout coefficients: 984153645*(-631) + 10000*(62100095) = 5.
4. Verify the result
984153645*(-631) + 10000*(62100095) = 5 = 5. Verified.
Why learn this
Learn more with Tiger
Number theory underlies cryptography, coding theory, and many competitive programming problems.