Bootstrap
  E.E.A. .com
It doesn't have to be difficult if someone just explains it right.

Calculator

For the Euclidean Algorithm, Extended Euclidean Algorithm and multiplicative inverse.

Before you use this calculator

If you're used to a different notation, the output of the calculator might confuse you at first.
Even though this is basically the same as the notation you expect. If that happens, don't panic.
Just make sure to have a look the following pages first and then it will all make sense:


Input

Algorithm

Choose which algorithm you would like to use.

Numbers

Enter the input numbers:

a=
b=


Output

This is the output of the Extended Euclidean Algorithm using the numbers a=373 and b=142355:
abqr s1s2s3 t1t2t3
3731423550373101010
14235537338124201-381101
37324211311-38138201-1
2421311111-381382-7631-12
131111120382-7631145-12-3
11120511-7631145-64882-317
2011191145-64887633-317-20
11912-64887633-1412117-2037
92417633-1412164117-2037-168
2120-1412164117-14235537-168373
Answer

So we found that:

Verification
If our answer is correct, then the absolute value of s × a + t × b is equal to the gcd of a and b. We have: