Microsoft Store
 

Partition function (number theory)


 

In number theory, the partition function p(n) represents the number of possible partitions of a natural number n, which is to say the number of distinct (and order independent) ways of representing n as a sum of natural numbers. For example, 4 can be partitioned in 5 distinct ways

Table of values

Some values of the partition function are as follows:

~ ~ ~ ~ ~ ~ ~ ~ ~ ~

  • p(1) = 1
  • p(2) = 2
  • p(3) = 3
  • p(4) = 5
  • p(5) = 7
  • p(6) = 11
  • p(7) = 15
  • p(8) = 22
  • p(9) = 30
  • p(10) = 42
  • p(100) = 190569292
  • p(1000) = 24061467864032622473692149727991