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=247 and b=425:
abqr s1s2s3 t1t2t3
2474250247101010
425247117801-1101
2471781691-1201-1
17869240-12-51-13
69401292-57-13-4
4029111-57-123-47
2911277-1231-47-18
11714-1231-437-1825
741331-4374-1825-43
4311-4374-11725-4368
313074-117425-4368-247
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: