http://www.perlmonks.org?node_id=407023


in reply to Re: How to generate restricted partitions of an integer
in thread How to generate restricted partitions of an integer

This will miss many conversions such as 10 => 2 2 2 2 2 (not catered for by %subs) and 20 => 5 5 5 5 (not catered for by the single iterative substitution approach).

Hugo