ATLAS Ouvrir dans l'atlas →

ExerciceMaths expertes, chapitre 7 — PGCD · PGCD et algorithme d'Euclide

Exercice 3

Calcul

1. Utiliser l'algorithme d'Euclide pour déterminer les PGCD suivants :

a) PGCD(144,840)\mathrm{PGCD}(144,840)

b) PGCD(202,138)\mathrm{PGCD}(202,138)

c) PGCD(441,777)\mathrm{PGCD}(441,777)

d) PGCD(2004,9185)\mathrm{PGCD}(2004,9185)

2. À l’aide de l’algorithme d’Euclide, dire si les couples d’entiers suivants sont premiers entre eux :

a) (4 847 ;5 633)(4\,847\,;5\,633)

b) (5 617 ;813)(5\,617\,;813)

Corrigé

1. On applique l'algorithme d'Euclide : le PGCD est le dernier reste non nul.

a) 840=144×5+120144=120×1+24120=24×5+0\begin{aligned} 840 &= 144\times 5+120 \\ 144 &= 120\times 1+24 \\ 120 &= 24\times 5+0 \end{aligned}

PGCD(144,840)=24\boxed{\mathrm{PGCD}(144,840)=24}

b) 202=138×1+64138=64×2+1064=10×6+410=4×2+24=2×2+0\begin{aligned} 202 &= 138\times 1+64 \\ 138 &= 64\times 2+10 \\ 64 &= 10\times 6+4 \\ 10 &= 4\times 2+2 \\ 4 &= 2\times 2+0 \end{aligned}

PGCD(202,138)=2\boxed{\mathrm{PGCD}(202,138)=2}

c) 777=441×1+336441=336×1+105336=105×3+21105=21×5+0\begin{aligned} 777 &= 441\times 1+336 \\ 441 &= 336\times 1+105 \\ 336 &= 105\times 3+21 \\ 105 &= 21\times 5+0 \end{aligned}

PGCD(441,777)=21\boxed{\mathrm{PGCD}(441,777)=21}

d) 9185=2004×4+11692004=1169×1+8351169=835×1+334835=334×2+167334=167×2+0\begin{aligned} 9185 &= 2004\times 4+1169 \\ 2004 &= 1169\times 1+835 \\ 1169 &= 835\times 1+334 \\ 835 &= 334\times 2+167 \\ 334 &= 167\times 2+0 \end{aligned}

PGCD(2004,9185)=167\boxed{\mathrm{PGCD}(2004,9185)=167}

2. a) 5633=4847×1+7864847=786×6+131786=131×6+0\begin{aligned} 5633 &= 4847\times 1+786 \\ 4847 &= 786\times 6+131 \\ 786 &= 131\times 6+0 \end{aligned}

PGCD(4847,5633)=131≠1\mathrm{PGCD}(4847,5633)=131\neq 1
4847 et 5633 ne sont pas premiers entre eux\boxed{4847 \text{ et } 5633 \text{ ne sont pas premiers entre eux}}

b) 5617=813×6+739813=739×1+74739=74×9+7374=73×1+173=1×73+0\begin{aligned} 5617 &= 813\times 6+739 \\ 813 &= 739\times 1+74 \\ 739 &= 74\times 9+73 \\ 74 &= 73\times 1+1 \\ 73 &= 1\times 73+0 \end{aligned}

PGCD(5617,813)=1\mathrm{PGCD}(5617,813)=1
5617 et 813 sont premiers entre eux\boxed{5617 \text{ et } 813 \text{ sont premiers entre eux}}

Dans l'édifice

Thèmes

pgcd, algorithme d'euclide, entiers premiers entre eux, équations diophantiennes

Notions

PGCD, division euclidienne

Ouvrir dans l'atlas interactif →