From the prime factorization of 128, we get,


2



128



2



64



2



32



2



16



2



8



2



4



2



2




1



From the prime factorization of 250, we get,


2



250



5



125



5



25



5



5




1



=





10
1