Combination of numbers.

Hi

some help please

I want to write some code that give me all the combinations of some numbers.

For exemple.

I have 30 numbers (1 to 30) and from those numbers i need all the
combinations
in 4 colums.

1 2 3 4
1 2 3 5
1 2 3 6
1 2 3 7
and so on until

27 28 29 30

What is the best way to do that.  do i have to use 4 loops.

Regards Mario