Open
Description
By convention, there is a single partition of 0: the empty partition. However, integer_partitions(0)
returns []
. It should instead return [[]]
so that length(integer_partitions(0)) == 1
in accordance with https://oeis.org/A000041 .
Metadata
Metadata
Assignees
Labels
No labels