Estoy tratando de probar la propiedad asociativa para el $\gcd(a,b)$ función.
$$\gcd( a ,\space \gcd(b,c) ) = \gcd(\space \gcd(a,b) , c )$$
Déjalo:
$$e = \gcd( a ,\space \gcd(b,c) )\text{ and }f = \gcd(\space \gcd(a,b) , c )$$
Desde aquí se puede ver que
$$ e\mid a,\gcd(b,c) \Longleftrightarrow e\mid a,b,c $$
Y de manera similar,
\begin{align*} f|\gcd(a,b),c &\Longleftrightarrow f\mid a,b,c\\ &\Longleftrightarrow f\mid e\\ &\Longleftrightarrow e\mid f \end{align*}
Si $ e\mid f$ y $f\mid e \Longrightarrow |e| = |f| $ y como $e$ y $f$ son ambas no negativas tenemos el resultado, $e = f$ según sea necesario.
¿Esta prueba es sólida?