i have a list of 18 numbers
i want to generate an array of the combinations of 6 numbers from the list, that sum within a chosen range eg. 160 to 175

any alogrhythm or loop to do this

thnx