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

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

Solução

gcd(39189282;10000)=2
gcd(39189282;10000)=2

Outras maneiras de resolver

Calculadora de teoria dos números

Explicação passo a passo

1. Identify the problem

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

gcd(39189282,10000)

2. Apply the Euclidean algorithm

39189282 = 10000*3918 + 9282

10000 = 9282*1 + 718

9282 = 718*12 + 666

718 = 666*1 + 52

666 = 52*12 + 42

52 = 42*1 + 10

42 = 10*4 + 2

10 = 2*5 + 0

gcd(39189282,10000)=2

3. Back-substitute to find coefficients

gcd(39189282,10000) = 2.

Bezout coefficients: 39189282*(961) + 10000*(-3766090) = 2.

39189282⋅(961)+10000⋅(−3766090)=2

4. Verify the result

39189282*(961) + 10000*(-3766090) = 2 = 2. Verified.

Porque aprender isto

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

Termos e tópicos