ATLAS Ouvrir dans l'atlas →

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

Exercice 1

Calcul

1. Déterminer à l'aide des règles de divisibilité :

a) PGCD(12,42)\mathrm{PGCD}(12,42)

b) PGCD(45,105)\mathrm{PGCD}(45,105)

c) PGCD(92,69)\mathrm{PGCD}(92,69)

d) PGCD(72,108)\mathrm{PGCD}(72,108)

2. Déterminer les entiers naturels nn tels que :

a) n⩽200n\leqslant 200 et PGCD(n,324)=12\mathrm{PGCD}(n,324)=12

b) n⩽500n\leqslant 500 et PGCD(n,378)=54\mathrm{PGCD}(n,378)=54

c) n⩽400n\leqslant 400 et PGCD(n,150)=6\mathrm{PGCD}(n,150)=6

Corrigé

1. On décompose chaque nombre pour lire les facteurs communs.

a) 12=22×312=2^{2}\times 3 et 42=2×3×742=2\times 3\times 7, d'où : PGCD(12,42)=2×3=6\boxed{\mathrm{PGCD}(12,42)=2\times 3=6}

b) 45=32×545=3^{2}\times 5 et 105=3×5×7105=3\times 5\times 7, d'où : PGCD(45,105)=3×5=15\boxed{\mathrm{PGCD}(45,105)=3\times 5=15}

c) 92=22×2392=2^{2}\times 23 et 69=3×2369=3\times 23, d'où : PGCD(92,69)=23\boxed{\mathrm{PGCD}(92,69)=23}

d) 72=23×3272=2^{3}\times 3^{2} et 108=22×33108=2^{2}\times 3^{3}, d'où : PGCD(72,108)=22×32=36\boxed{\mathrm{PGCD}(72,108)=2^{2}\times 3^{2}=36}

2. La méthode est la même dans les trois cas. Si PGCD(n,N)=d\mathrm{PGCD}(n,N)=d, alors dd divise nn, donc n=d n′n=d\,n' ; et l'on doit avoir PGCD(n′,N/d)=1\mathrm{PGCD}(n',N/d)=1.

a) PGCD(n,324)=12\mathrm{PGCD}(n,324)=12 exige d'abord que 1212 divise 324324, ce qui est vrai (324=12×27324=12\times 27). On pose n=12n′n=12n', la condition devient PGCD(n′,27)=1\mathrm{PGCD}(n',27)=1, c'est-à-dire n′n' non divisible par 33. Avec n⩽200n\leqslant 200, on a n′⩽16n'\leqslant 16 : n′∈{1 ;2 ;4 ;5 ;7 ;8 ;10 ;11 ;13 ;14 ;16}n'\in\{1\,;2\,;4\,;5\,;7\,;8\,;10\,;11\,;13\,;14\,;16\}

n∈{12 ;24 ;48 ;60 ;84 ;96 ;120 ;132 ;156 ;168 ;192}\boxed{n\in\{12\,;24\,;48\,;60\,;84\,;96\,;120\,;132\,;156\,;168\,;192\}}

b) 378=54×7378=54\times 7. On pose n=54n′n=54n' avec PGCD(n′,7)=1\mathrm{PGCD}(n',7)=1, donc n′n' non multiple de 77. Avec n⩽500n\leqslant 500, on a n′⩽9n'\leqslant 9 : n′∈{1 ;2 ;3 ;4 ;5 ;6 ;8 ;9}n'\in\{1\,;2\,;3\,;4\,;5\,;6\,;8\,;9\}

n∈{54 ;108 ;162 ;216 ;270 ;324 ;432 ;486}\boxed{n\in\{54\,;108\,;162\,;216\,;270\,;324\,;432\,;486\}} On notera que n′=7n'=7 est exclu : il donnerait n=378n=378, dont le PGCD avec 378378 vaut 378378 et non 5454.

c) 150=6×25150=6\times 25. On pose n=6n′n=6n' avec PGCD(n′,25)=1\mathrm{PGCD}(n',25)=1, donc n′n' non multiple de 55. Avec n⩽400n\leqslant 400, on a n′⩽66n'\leqslant 66 : n=6n′ ouˋ n′⩽66 n’est pas un multiple de 5\boxed{n=6n' \text{ où } n'\leqslant 66 \text{ n'est pas un multiple de } 5} Cela fournit 66−13=5366-13=53 valeurs, les premières étant 66, 1212, 1818, 2424, 3636, 4242, 4848, 5454, 6666, … et la dernière 396396.

Dans l'édifice

Thèmes

pgcd

Notions

PGCD

Ouvrir dans l'atlas interactif →