Suppose $a,b$ be two positive integers such that $a = {p_{1}}^{r_{1}}{p_{2}}^{r_{2}}...{p_{n}}^{r_{n}}$ and $b = {p_{1}}^{s_{1}}{p_{2}}^{s_{2}}...{p_{n}}^{s_{n}}$, where $p_{i}$ are distinct primes and $r_{i} , s_{i} \in \mathbb N_{0}$ for $i = 1,2,...,n$ where $\mathbb N_{0} = \mathbb N \cup \{0\}$. Then show that $d = {p_{1}}^{t_{1}}{p_{2}}^{t_{2}}...{p_{n}}^{t_{n}}$ is the $gcd (a,b)$ where $t_{i} = \min \{r_{i} , s_{i}\}$ for $i = 1,2,...,n$.
It is easy to see that $d|a$ and $d|b$.But I find difficulty to show the second part i.e. if $x$ be any common divisor of $a$ and $b$.Then $x|d$.How can I show this?Please help me.
Thank you in advance.