4.II.6D
(a) Let and be integers with and let be their highest common factor. For any integer , prove that is a multiple of if and only if there exists an integer satisfying the equation exactly solutions to the equation that are distinct .
Deduce that the equation has a solution if and only if .
(b) Let be a prime and let be the multiplicative group of non-zero integers . An element of is called a th power if for some integer . It can be shown that has a generator: that is, an element such that every element of is a power of . Assuming this result, deduce that an element of is a th power if and only if , where is now the highest common factor of and .
(c) How many 437th powers are there mod 1013? [You may assume that 1013 is a prime number.]