|
-
May 31st, 2009, 04:10 AM
#3
Thread Starter
New Member
Re: VB 6 - Combinatorics - Lottery Problem
Many Thanks for your code example and your swift reply !
Unfortunately your code will maybee work, if I like to combine number 1,2,3,4,5,6,7 in combinations of 6 numbers.
That´s not real life (my first given example/description of my problem was only made easy).
If I also like to make any combination of 6 numbers out of :
3,12,16,21,31,34,45 (or any other numbers), your code doesn´t work.
Could you please explain your code and add a solution, where I can
choose the needed numbers + an visual output of the calculated combinations ?
eg: I like to choose 6 numbers out of 7 or 8 or 9....(not in order), numbers given.
------6 number combination from 4,6,13,15,20, 21, 29, 36--- or any other---.
(The order of the numbers is not important!)
Many Thanks, Gerry. 
Last edited by gerry43; May 31st, 2009 at 04:32 AM.
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
|