My question is about the set theory.
I have c[0]={{1}}
and i want to define c[n]
as follows:
c[n] = Prepend 1 to each element of c[n-1] UNION add 1 to the first element of each element of c[n-1].
For example:
c[1]={{1,1},{2}}
c[2]={{1,1,1},{2,1},{1,2},{3}}
c[3]={{1,1,1,1},{2,1,1},{1,2,1},{3,1},{1,1,2},{2,2},{1,3},{4}}
Please help me with this homework assignment.