Suppose that p is a prime number.
a) How many numbers that are less than p are relatively prime to it?
b) How many numbers that are less than p2 are relatively prime to it?