I have a homework question which i'm struggling with, i would be interested in what method i should use to solve the following problems:
> Let a be a positive integer. Evaluate the following:
> (i) gcd(a,a^2)
> (ii) gcd(a,a+1)
> (iii) gcd(a,a+2)
> (you do not need the Euclidean Algorithm to answer these questions.)
Im not looking for the answers to these questions rather the approach i should take to solving them and problems like them? I've searched and while i can find links to solving gcd's they all seem to be of the style gcd(2,4) etc.
Thanks for the help (i know its probably very simple.)
Hint: Pick some numbers for $a$ such as $a=5$. Now, what would divide both 5 and 25? Or for the second one, what would divide both 5 and 6? How about 5 and 7 for the third one? Also, for the third one, what if $a=6$ and we tried to find the gcd of 6 and 8?