This is a tough one. Basically what I want my program to do is work out ALL the combinations of numbers possible with the numbers 1 - 45 when you can pick a group of six numbers.
Eg.
1,2,3,4,5,6. 1,2,3,4,5,7. 1,2,3,4,5,6,8.
I have already done some calculations and found that the number of combinations is 8,145,060.
Basically what I want to do it write a program that calculates all combinations and streams them onto a text document. I want this to be done effectively and take as least time possible when it is executed. This is not top priority but I would like it to be one of my goals. My main objective though is to have the final text document with all the combinations on them.
I am really struggling to work out what statements I should use to complete this task as well as what language would be the best for such a task. I know a bit of C# and PHP. Please help. :)


Sign In
Create Account


Back to top









