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

Solution - Calculateur de théorie des nombres

Explication étape par étape

1. Identify the problem

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

gcd(25682296,10000)

2. Apply the Euclidean algorithm

25682296 = 10000*2568 + 2296

10000 = 2296*4 + 816

2296 = 816*2 + 664

816 = 664*1 + 152

664 = 152*4 + 56

152 = 56*2 + 40

56 = 40*1 + 16

40 = 16*2 + 8

16 = 8*2 + 0

gcd(25682296,10000)=8

3. Back-substitute to find coefficients

gcd(25682296,10000) = 8.

Bezout coefficients: 25682296*(-527) + 10000*(1353457) = 8.

25682296⋅(−527)+10000⋅(1353457)=8

4. Verify the result

25682296*(-527) + 10000*(1353457) = 8 = 8. Verified.

Pourquoi apprendre cela

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

Termes et sujets