I've changed my answers, but help need to decide if they're right
A.Let A(n) be the number of partitions n in which no part occurs more than twice. Find the generating function.
B. let B(n) be the number of partitions of n in which no part is a multiple of 3. Find the Generating function.
I'm still new with these, I'm sure I messed up, can anyone help me out?