from github to this gitea

This commit is contained in:
oscar.plaisant@icloud.com
2023-10-23 23:09:51 +02:00
commit a2ee0fa5ca
2898 changed files with 307871 additions and 0 deletions

31
pgcd.md Normal file
View File

@@ -0,0 +1,31 @@
up::[[MOC arithmétique]]
#maths/arithmétique
----
Le Plus Grand Commun Diviseur de plusieurs nombres (souvent deux) est noté $\text{pgcd}(a; b; c;\cdots)$ et est le plus grand nombre qui divise tous ces nombres
> [!definition] PGCD
> $\mathrm{pgcd}(a;b) = \mathrm{max} \{ d \in \mathbb{Z} \mid (d \mid a) \wedge (d \mid b) \}$
>
> Ou bien, pour plus de deux nombres :
> $\mathrm{pgcd}(x_{1};x_{2};x_{3};\cdots) = \mathrm{max} \{ d \in \mathbb{Z} \mid (d\mid x_{1}) \wedge (d\mid x_{2}) \wedge (d\mid x_{3}) \cdots \}$
>
^definition
> [!definition] autre définition
> Le $\text{pgcd}$ de $x_1, x_2, x_3,\ldots$ est le produit de l'intersection des [[ensemble avec répétitions]] des [[décomposition en facteurs premiers|décompositions en facteurs premiers]] de chacun des nombres $x_1,x_2,x_3,\ldots$
^definition
> [!info] Notation
> Le $\mathrm{pgcd}$ de $a$ et $b$ peut être noté :
> - $\mathrm{pgcd}(a;b)$ ou $\text{PGCD}(a;b)$
> - $a\wedge b$
> - `a b` en [[APL]]
> - plus cohérent quand on est sur $\{0; 1\}$
> - `a and b` en [[python]]
# Propriétés
Soient $a$ et $b$ deux entiers non nuls
- $\mathrm{pgcd}(a,b)\times\mathrm{ppcm}(a,b)=|ab|$
- [[ppcm]]