04-14-2014 06:40 AM
I am looking for a solution to get all possible number combinations out of an bigger amount of numbers.
For example: i have numbers from 1 till 30 and now i want to get all combinations just by taking 5 numbers.
I did find some part solutions here in the discussion forum but all of these just do it this way: you have 5 numbers and get all possible combinations of these five.
Is there anyone who can help me out with a solution?
Thx
04-14-2014 07:43 AM
That is generally just a similar equation using factorials and division.
04-14-2014 09:06 AM
Of course I searched for it ... and even in google!
BUT i can't get on the right way...
04-14-2014 09:10 AM - edited 04-14-2014 09:11 AM
What does "can't get on the right way" mean?
Calculating the number of permutation and/or combinations are basic math equations.
You just need to program them.
If you have already tried something and it is not working, then post your code, tell us how it isn't working correctly, and then we might be able to help you with it.
Is this homework?