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=817 and b=788851:
abqr s1s2s3 t1t2t3
8177888510817101010
78885181796544601-965101
81744613711-96596601-1
446371175-965966-19311-12
37175471966-19318690-12-9
757114-19318690-106212-911
7141738690-10621189247-911-196
4311-10621189247-19986811-196207
3130189247-199868788851-196207-817
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: