27.12.2012 Views

Introducción a la teoría de números. Ejemplos y - TEC-Digital

Introducción a la teoría de números. Ejemplos y - TEC-Digital

Introducción a la teoría de números. Ejemplos y - TEC-Digital

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

mcd y mcm<br />

EJERCICIOS 33<br />

Definición 2.4 Si a,b ∈ Z + entonces el mínimo común múltiplo <strong>de</strong> a y b es el más pequeño entero<br />

m > 0 tal que a|m y b|m. Se escribe mcm(a,b) = m<br />

Teorema 2.14 Si a,b son enteros positivos, supongamos que<br />

a =<br />

b =<br />

k<br />

∏<br />

i=1<br />

k<br />

∏<br />

i=1<br />

p α i<br />

i , α i ≥ 0<br />

p β i<br />

i , β i ≥ 0<br />

Es <strong>de</strong>cir, solo por conveniencia, igua<strong>la</strong>mos el número <strong>de</strong> factores con 1’s si es necesario. Entonces,<br />

mcd(a,b) =<br />

mcm(a,b) =<br />

k<br />

∏<br />

i=1<br />

k<br />

∏<br />

i=1<br />

En particu<strong>la</strong>r mcd(a,b) mcm(a,b) = ab, es <strong>de</strong>cir<br />

Prueba: Ejercicio.<br />

mcm(a,b) =<br />

p γ i<br />

i , γ i = mín{α i, β i}<br />

p δ i<br />

i , δ i = máx{α i, β i}<br />

ab<br />

mcd(a,b) .<br />

Aunque para <strong>números</strong> pequeños, el método <strong>de</strong> <strong>la</strong> factorización prima sirve para calcu<strong>la</strong>r mcd(n,m)<br />

y el mcm(n,m), en general, es computacionalmente ineficiente, por el costo <strong>de</strong> obtener esta factorización.<br />

Un algoritmo más a<strong>de</strong>cuado está basado en el teorema (2.8).<br />

EJEMPLO 2.26<br />

A partir <strong>de</strong> <strong>la</strong> factorización prima <strong>de</strong> dos <strong>números</strong> n,m po<strong>de</strong>mos calcu<strong>la</strong>r el mcd(n,m) y<br />

el mcm(n,m).<br />

36<br />

18 2<br />

9 2<br />

3 3<br />

36 = 2 2 · 3 2 · 7 0<br />

1 3<br />

1 7<br />

Luego, mcd(36,84) = 22 · 3 · 70 = 12 y el mcm(36,84) = 22 · 32 · 7 = 252.<br />

84<br />

42 2<br />

21 2<br />

7 3<br />

84 = 2 2 · 3 · 7

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!