Is there a code for showing partitions of a given number n, in k colours? For example take 2 colours, red and blue. Take the partition 3322111 of 13, where of the three 1's, two of them are red and the other one is blue, both the 3's are blue and both the 2's are red.