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

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

Solução

gcd(368701352;10000)=8
gcd(368701352;10000)=8

Outras maneiras de resolver

Calculadora de teoria dos números

Explicação passo a passo

1. Identify the problem

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

gcd(368701352,10000)

2. Apply the Euclidean algorithm

368701352 = 10000*36870 + 1352

10000 = 1352*7 + 536

1352 = 536*2 + 280

536 = 280*1 + 256

280 = 256*1 + 24

256 = 24*10 + 16

24 = 16*1 + 8

16 = 8*2 + 0

gcd(368701352,10000)=8

3. Back-substitute to find coefficients

gcd(368701352,10000) = 8.

Bezout coefficients: 368701352*(429) + 10000*(-15817288) = 8.

368701352⋅(429)+10000⋅(−15817288)=8

4. Verify the result

368701352*(429) + 10000*(-15817288) = 8 = 8. Verified.

Porque aprender isto

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

Termos e tópicos