Zadejte rovnici nebo úlohu
Vstup z kamery nebyl rozpoznán!

Řešení - Kalkulačka teorie čísel

Řešení

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

Jiné způsoby řešení

Kalkulačka teorie čísel

Vysvětlení krok za krokem

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.

Proč se to učit

Dozvědět se více s Tigerem
Number theory underlies cryptography, coding theory, and many competitive programming problems.

Pojmy a témata