I need to analyse if the next propositions are valid:
1) If $p$ prime and $a$, any natural number, then $(a,p)=1$.
2) If $(a,b)=1$, then $(ac,b)=(b,c)$ ; $a,b,c$ integer numbers
Resolution:
1) I know that if $d=(a,p)$ then $d\mid a$ and $d\mid p$, but because of $p$ being a prime number that means that $d=1$ or $d=p$. Then I don't know how to proceed.
2) I don't know how to start.
When it comes to demonstrate something with the gcd, do I start from the fact that it divides both numbers, or is there another way ?
Part 2)
By definitions of gcd, note that $$(xy,xz) = x(y,z) \text{ (1)}$$ $$(x,y) = 1 \land (x,z) = 1\iff(x,yz) = 1\text{ (2)}$$
let $(a,b) = 1$ and
let $b = db', c = dc'$, where $(b,c) = d$ for some $d \in \mathbb{N}$
Now $(ac,b) = (adc', db')$
$= d(ac',b')$ by (1)
Note
$(b,c) = d \implies (b',c')= 1$
$(a,b) = 1 \implies (a,b') = 1$ by (2) so,
$(ac',b')= 1$ by (2)
$\therefore (ac,b) = (adc', db') = d(ac',b')= d = (b,c)$ by supposition