Partition into k
is number of partitions of n into exactly k parts.
\eqalign{ &1\cr &1 \ 1\cr &1 \ 1 \ 1 \cr &1 \ 2 \ 1 \ 1 \cr &1 \ 2 \ 2 \ 1 \ 1 \cr &1 \ 3 \ 3 \ 2 \ 1 \ 1 \cr &1 \ 3 \ 4 \ 3 \ 2 \ 1 \ 1 \cr &1 \ 4 \ 5 \ 5 \ 3 \ 2 \ 1 \ 1 \cr &1 \ 4 \ 7 \ 6 \ 5 \ 3 \ 2 \ 1 \ 1 \cr }Partition
- A partition of a positive integer , (also called an integer partition), is a way of writing as a sum of positive integers. Two sums that differ only in the order of their summands are considered the same partition.
The partition function equals the number of possible partitions of a non-negative integer .
The values of this function for are: (A000041)
Partition with distinct parts
, also denoted , gives the number of ways of writing the integer as a sum of positive integers without regard to order with the constraint that all integers in a given partition are distinct. (A000009)
https://en.wikipedia.org/wiki/Partition_(number_theory)#Odd_parts_and_distinct_parts