[math-fun] two kinds of partitions