Introduceți o ecuație sau problemă
Inputul camerei nu este recunoscut!

Soluție - Calculator de teoria numerelor

Soluție

gcd(20252024,10000)=8
gcd(20252024,10000)=8

Alte moduri de a rezolva

Calculator de teoria numerelor

Explicații pas cu pas

1. Identify the problem

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

gcd(20252024,10000)

2. Apply the Euclidean algorithm

20252024 = 10000*2025 + 2024

10000 = 2024*4 + 1904

2024 = 1904*1 + 120

1904 = 120*15 + 104

120 = 104*1 + 16

104 = 16*6 + 8

16 = 8*2 + 0

gcd(20252024,10000)=8

3. Back-substitute to find coefficients

gcd(20252024,10000) = 8.

Bezout coefficients: 20252024*(-583) + 10000*(1180693) = 8.

20252024⋅(−583)+10000⋅(1180693)=8

4. Verify the result

20252024*(-583) + 10000*(1180693) = 8 = 8. Verified.

De ce să învăț asta

Învață mai mult cu Tiger
Number theory underlies cryptography, coding theory, and many competitive programming problems.

Termeni și teme

Ultimele exerciții conexe soluționate