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.

Perhapse you want to update your example (and perhaps commentary) with something not so straight forward as 12.

(1, 7, 11, 14, 18, 21) (1, 7, 11, 14, 3) (1, 7, 11, 3) (1, 7, 3) (1, 3) *poof*
Without examining your code and just reading your dialog and manual example - this is how I would expect the code to behave.

Cheers - L~R