in reply to Find combination of numbers whose sum equals X
I think this is known as the Subset Sum Problem.
-QM
--
Quantum Mechanics: The dreams stuff is made of
In Section
Seekers of Perl Wisdom