We can have parts 1, 2, 4, 5, 7, 8, and so on. The generating function for this is:
$$
G_1(x) = (1 + x)(1 + x^2)(1 + x^4)(1 + x^5)(1 + x^7)(1 + x^8) \cdots
$$
Now, let's construct the generating function for the number of partitions of n such that no part
Show more…