Let $p_1, p_2, ... , p_n$ be $n$ distinct primes. Prove that for all $x ∈ \Bbb{Z}$ we have $ p_i | x $ for all $i ∈ \{1,2, ... , n\}$ if and only if $(p_1*p_2* ...*p_n)|x$.
Hello. I'm very lost in this proof. I know there must be some element of prime factorization, and I know you must go in both directions. All answers are appreciated on how to solve this proof.
First suppose that $p_1 \times ... \times p_n$ divides $x$. Then by definition, there exists $q$ such that $x = p_1 \times ... \times p_n \times q$. For all $i \in \lbrace 1, ..., n \rbrace$, you see that there exists $q_i$ such that $x = p_i q_i$, so by definition, $p_i$ divides $x$.
Now, let's suppose that for each $i$, your prime number $p_i$ divides $x$. Then, all the $p_i$ appear in the unique prime factorization of $x$. Because they are all distinct, the product $p_1 \times ... \times p_n$ appears in this factorization. That means that $p_1 \times ... \times p_n$ divides $x$.