GET TUTORING NEAR ME!

By providing your phone number, you consent to receive text messages from Club Z! for purposes related to our services. Message frequency may vary. Message and Data Rates may apply. Reply HELP for help or STOP to unsubscribe. See our Privacy Policy and our Terms and Conditions page

    Home / Get Math Help

    Partition Function P

    Definition

    P(n), sometimes also denoted p(n), gives the number of ways of writing the integer n as a sum of positive integers, where the order of addends is not considered significant. By convention, partitions are usually ordered from largest to smallest. For example, since 4 can be written 4 | = | 4 | = | 3 + 1 | = | 2 + 2 | = | 2 + 1 + 1 | = | 1 + 1 + 1 + 1, it follows that P(4) = 5. P(n) is sometimes called the number of unrestricted partitions, and is implemented in the Wolfram Language as PartitionsP[n].