|
-
Oct 6th, 2009, 07:19 PM
#1
Thread Starter
Member
Integer Permutations I Think!
I am not the greatest with math. And I cannot even think of where to start with this problem.
I have 36 numbers in sets of 5. (eg. 1-2-3-4-5, 2-3-4-5-6 etc..)
I need to find all the possible combinations of these numbers which total the same sum.
For instance the lowest sum would be:
1 + 2 + 3 + 4 + 5 = 15
The highest possible sum is
32 + 33 + 34 + 35 + 36 = 170.
Now every five number combination within these 36 numbers will sum up between 15 and 170.
How would I go about this in vb.net to produce all the possible combinations which would total say 92.
Thanks in advance
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|