The dihedral group is generated by an element of order , and an element of order 2, satisfying the relation



(i) Determine number of group homomorphisms .



(ii) Determine the number of group homomorphisms



Hint:
What can you can about the order of vs. the order of ?
What can you say about the order of elements of and of ?
And for (ii): you might want to make use of the relation .

You can earn partial credit on this problem.