A005187
A005187 is an integer sequence in the On-Line Encyclopedia of Integer Sequences (OEIS). The sequence is defined by the property that its terms are the number of partitions of n into distinct parts. A partition of an integer n into distinct parts is a way of writing n as a sum of positive integers where each integer in the sum is unique. For example, the partitions of 5 into distinct parts are 5, 4+1, and 3+2. Therefore, the number of partitions of 5 into distinct parts is 3. The first few terms of the sequence are 1, 1, 2, 2, 3, 4, 5, 6, 8, 10.
This sequence is also known as the partition function q(n). It has connections to other areas of