Exercise · ZW-INTEGER-PARTITION-003 · ★★☆ Intermediate

How many partitions of \(4\) have exactly two parts?

Choose one option.

Show answer
  • A. \(2\)

Explanation

The partitions of 4 with two parts are 3+1 and 2+2, so there are two. The option giving three mistakes 2+1+1, which has three parts.

Study Enumerative combinatorics in ZWMath →

Review the concept: Integer partition

A partition of an integer n is a way of writing n as a sum of positive integers, where the order of the summands does not matter. The number of partitions of n is denoted p(n).

\[\sum_{n\ge 0} p(n)x^n=\prod_{k\ge 1}\frac{1}{1-x^k}\]

More practice problems: integer partition

← ZW-INTEGER-PARTITION-002 ZW-INTEGER-PARTITION-004 →