Can anyone help me out with a little project?

I need to be able to create a number combination generator that I can give a set of numbers to and it will return all possilble number combinations.

Is there any simple way of doing this?