|
-
November 28th, 2006, 09:06 AM
#1
Creating New Number from Some Numbers
Assume that I have the following number
{1, 2, 3, 4, 5, 6};
I want to create the following unique number with space between each of them
so I should have a result similar to that; the last number must be unique, the order does not matter; I want to have all possibilities
1 2 3 4 5 6;
1 2 3 5 6 1;
1 2 3 5 6 2;
1 2 3 5 6 3;
1 2 3 5 6 4;
1 2 3 5 6 5;
The set above is not that good, but this one is better; assume that I have
{2, 3, 8, 9, 10, 11, 22, 30}; whathever how they are given, the result should be in the order of 6
from the set above, I can have a result like this
2 3 8 9 10 11;
2 3 10 11 30 22;
etc.
I want to have all the possibilities for the combinition of 6
How can I do that?
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
|