Entrez une équation ou un problème
L’entrée caméra n’est pas reconnue !

Solution - Calculateur de théorie des nombres

Solution

gcd(978270162;100000000)=2
gcd(978270162;100000000)=2

Autres façons de résoudre

Calculateur de théorie des nombres

Explication étape par étape

1. Identify the problem

Find gcd(978270162,100000000) using the Extended Euclidean Algorithm.

gcd(978270162,100000000)

2. Apply the Euclidean algorithm

978270162 = 100000000*9 + 78270162

100000000 = 78270162*1 + 21729838

78270162 = 21729838*3 + 13080648

21729838 = 13080648*1 + 8649190

13080648 = 8649190*1 + 4431458

8649190 = 4431458*1 + 4217732

4431458 = 4217732*1 + 213726

4217732 = 213726*19 + 156938

213726 = 156938*1 + 56788

156938 = 56788*2 + 43362

56788 = 43362*1 + 13426

43362 = 13426*3 + 3084

13426 = 3084*4 + 1090

3084 = 1090*2 + 904

1090 = 904*1 + 186

904 = 186*4 + 160

186 = 160*1 + 26

160 = 26*6 + 4

26 = 4*6 + 2

4 = 2*2 + 0

gcd(978270162,100000000)=2

3. Back-substitute to find coefficients

gcd(978270162,100000000) = 2.

Bezout coefficients: 978270162*(23119321) + 100000000*(-226169419) = 2.

978270162⋅(23119321)+100000000⋅(−226169419)=2

4. Verify the result

978270162*(23119321) + 100000000*(-226169419) = 2 = 2. Verified.

Pourquoi apprendre cela

Apprendre plus avec Tiger
Number theory underlies cryptography, coding theory, and many competitive programming problems.

Termes et sujets