<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">To All,<div><br></div><div>Can someone help me with the proper code to compute combinations for n=7, r=5 for the following list of numbers: 7, 8, 10, 29, 41, 48, 55. There should be 21 combination.</div><div><br></div><div>Also once there list is made can a code be written to add (sum) each of the set of five number in the the list. For example list: 8, 10, 29, 48, 55, = 150.</div><div><br></div><div>Thanks</div></td></tr></table>