in reply to finding all combinations

Using Super Search, I found a couple threads you might check out:

Finding all Combinations Notice the name of this thread! ;^)

possible combinations in sequence

...roboticus