I have a set of ten numbers and I want to know all the possible sums of each other are. I need to know what n1 + n2 is and what n1 + n3 is up to n10, but also what n1+n2+n3 is and what n1+n2+n4 is etc...
ive been thinking of it as kind of a binary addition:
and so forth...
but it may just be too late after a long day but I'm having some real trouble coming up with a practical way to do this... patching the logic for it would be mind numbing, and I don't know of any algorithms to do this... any thoughts?