Hacker News new | ask | show | jobs
by whatevertrevor 249 days ago
-- "Divide" an integer into two or more integers that sum to it too. :D
1 comments

The trivial partition n = n also usually counts as a partition. This is useful if you want to be able to dualize partitions, and want n = 1 + 1 + ... + 1 to have a dual partition.