I have a question re: Sum Range Combinations

If I wanted to view every 6 number combination that adds up to the sum range of 150 ( 165,772 of them ) , what program could perform this enormous task?? Could Excel help out (doubtful).

I would like to be able to filter out combinations that i would eliminate such as tickets with numbers in them like 23,24,25,26

ect... I'm just wondering how much filtering one could perform with any given sum range? I know it would still be an enormous amount of combos left even after filtering, but i sure would like to view these combo's on my own. Then obviously be able to view other sum range combo's in the same manner.

I hope this is even worth answering to somebody.