0

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!

Xin Yin
  • 49
  • 2
    Here's a relevant recurrence (though probably not everything you were looking for): http://math.stackexchange.com/questions/1908701/ – David K Nov 02 '16 at 18:10

1 Answers1

1

The Online Encyclopedia of Integer Sequences is a great place to look for this sort of thing.

There are explicit functions, like Rademacher's formula which can be truncated to give very accurate asymptotics. There are also many recurrence relations, all of which you can find an overview of on Wolfram Mathworld.

In both cases the link will take you to the entry on the 'partition function', which is the name of what you are asking about.

Mathily
  • 528