Given a natural number n, how do we find the recurrence for the number of distinct partitions of the number? Note: 4 -> {4},{3,1},{2,2},{1,1,1,1},{2,1,1} Here, {1,3} and {3,1} are the considered the same Also, can we get a closed form for the recurrence?
Thanks!