in reply to Weird number generator

jimt,
From your spoiler:
Okay, this function will determine if for a given set of natural numbers, is there a subset of those numbers that add up to the given sum.

Since your explanation of this function is in the spoiler, I will put my comment in a spoiler as well.

Cheers - L~R