I want to generate all possible sequence for 49 6 lottery
So I need number sequence for 6 ball drawn from group of 1 to 49.
Can I get logic to generate these sequences?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Here is a well written article that covers the various scenarios of combinations and permutations. It also has a nice list of references at the end of the article.
http://www.codingthewheel.com/archives/exhaustively-enumerating-combinations-and-permutations-in-code