2. For each of the following types of partition,
• give the generating function, and
• list the relevant partitions of 7.
(a) No restrictions.
(b) All parts are even.
(c) At least one part is even.
(d) No part occurs more than four times.
(e) 5 is a part, but 2 is not.
(f) The number of parts equal to 1 is odd.