Skip to main content
Reviewed for accuracy by Manoj Kumar, Mathematics Educator

Partition Function Calculator

Calculator

Adjust values & calculate

Enter your values below. Every result is computed in your browser โ€” no data is sent to any server.

Formula: p(n) = number of ways to write n as a sum of positive integers

Your Result

Worked example โ€” p(10) = 42 | Distinct parts: 10 | Odd parts: 10 | Hardy-Ramanujan estimate: 48

Reviewed for accuracy by Manoj Kumar, Mathematics Educator ยท Editorial policy