Exercise · ZW-INTEGER-PARTITION-009 · ★★☆ Intermediate
How many partitions of \(4\) have all parts odd?
Choose one option.
Show answer
- C. \(2\)
Exercise · ZW-INTEGER-PARTITION-009 · ★★☆ Intermediate
Choose one option.
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.
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).