You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 .
The text was updated successfully, but these errors were encountered:
By convention, there is a single partition of 0: the empty partition. However,
integer_partitions(0)
returns[]
. It should instead return[[]]
so thatlength(integer_partitions(0)) == 1
in accordance with https://oeis.org/A000041 .The text was updated successfully, but these errors were encountered: