Introduzir uma equação ou problema
Entrada de câmara não reconhecida!

Solução - Calculadora de teoria dos números

Solução

gcd(984153645;10000)=5
gcd(984153645;10000)=5

Outras maneiras de resolver

Calculadora de teoria dos números

Explicação passo a passo

1. Identify the problem

Find gcd(984153645,10000) using the Extended Euclidean Algorithm.

gcd(984153645,10000)

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

gcd(984153645,10000)=5

3. Back-substitute to find coefficients

gcd(984153645,10000) = 5.

Bezout coefficients: 984153645*(-631) + 10000*(62100095) = 5.

984153645⋅(−631)+10000⋅(62100095)=5

4. Verify the result

984153645*(-631) + 10000*(62100095) = 5 = 5. Verified.

Porque aprender isto

Aprende mais com o Tiger
Number theory underlies cryptography, coding theory, and many competitive programming problems.

Termos e tópicos