You can
put this solution on YOUR website!I'm not sure if this explanation counts as a mathematical proof, but it should get you going:
if

then a and b have no common factors at all (that's what causes the result to be 1).
Therefore, when you do

you are adding all the factors of c to a. As an example:
So, if

and

have a common factor, this factor is present in c, and