Partitions and Sylvester waves