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(2342234;10000000)=2
gcd(2342234;10000000)=2

Autres façons de résoudre

Calculateur de théorie des nombres

Explication étape par étape

1. Identify the problem

Find gcd(2342234,10000000) using the Extended Euclidean Algorithm.

gcd(2342234,10000000)

2. Apply the Euclidean algorithm

2342234 = 10000000*0 + 2342234

10000000 = 2342234*4 + 631064

2342234 = 631064*3 + 449042

631064 = 449042*1 + 182022

449042 = 182022*2 + 84998

182022 = 84998*2 + 12026

84998 = 12026*7 + 816

12026 = 816*14 + 602

816 = 602*1 + 214

602 = 214*2 + 174

214 = 174*1 + 40

174 = 40*4 + 14

40 = 14*2 + 12

14 = 12*1 + 2

12 = 2*6 + 0

gcd(2342234,10000000)=2

3. Back-substitute to find coefficients

gcd(2342234,10000000) = 2.

Bezout coefficients: 2342234*(-747547) + 10000000*(175093) = 2.

2342234⋅(−747547)+10000000⋅(175093)=2

4. Verify the result

2342234*(-747547) + 10000000*(175093) = 2 = 2. Verified.

Pourquoi apprendre cela

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

Termes et sujets