Task 1
d) Injectivity, Surjectivity
There is always a simpler way. Contradiction was already good, but the easiest way to do it is: Suppose that for . Then (g well defined) and (f well defined) thus by injectivity of we have . Thus is injective.
Task 2
a)
1.) Remeber to give the answer for questions as positive numbers!
b)
RSA: Since it is which means that the equation does not necessarily have a solution by Bézout.
c)
Definition of is that for any there exist such that .
We then multiply out the two numbers and find that we can write for . As by definition divides both and it divides . Thus it divides the entire thing. Done!