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

How many partitions of \(4\) have all parts odd?

Choose one option.

Show answer
  • C. \(2\)

Explanation

The partitions of 4 with all parts odd are 3+1 and 1+1+1+1, that is two. The option giving four counts all partitions of 4 without filtering by parity.

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-008 ZW-INTEGER-PARTITION-010 →