×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
• Talk With Other Members
• Be Notified Of Responses
• Keyword Search
Favorite Forums
• Automated Signatures
• Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

#### Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

# numerical combinations

## numerical combinations

(OP)
Friends, I'm from Brazil, and I'm developing a program to help you play the lottery ...
Does anyone have any program ready to generate any kind of combination ???
I am needing a program to take 60 tens and generate 50 tens combinations, which will give over 75 billion combinations ....
I will be very grateful and happy if anyone can help me with this algorithm

### RE: numerical combinations

What do you mean by "60 tens" and "50 tens"? What is a "ten"?

MIke

__________________________________
Mike Lewis (Edinburgh, Scotland)

### RE: numerical combinations

Would I be right in thinking the OP wants a series of ten numbers from the sets 0-50 and 0-60 (or maybe 1-50 and 1-60)
for something to do with the lottery - perhaps based on a random number generator?

Maybe he is going to monitor the actual results against the ones in his table to see if there is some kind of correlation?

Regards

Griff
Keep ing

There are 10 kinds of people in the world, those who understand binary and those who don't.

I'm trying to cut down on the use of shrieks (exclamation marks), I'm told they are !good for you.

### RE: numerical combinations

Sounds plausible, Griff. So presumably a "ten" is a two-digit number. So the customer picks N two-digits numbers between one and 60 (or is that 50)? And the mechanism for making the draw also picks N numbers. The number of two-digits numbers that match determines how much the customer wins.

If that's correct, the next question would be: What is the value of N?

MIke

__________________________________
Mike Lewis (Edinburgh, Scotland)

### RE: numerical combinations

Not really sure how that will help him.

Perhaps he will return with a coherent question sometime soon.

Regards

Griff
Keep ing

There are 10 kinds of people in the world, those who understand binary and those who don't.

I'm trying to cut down on the use of shrieks (exclamation marks), I'm told they are !good for you.

### RE: numerical combinations

#### Quote:

Perhaps he will return with a coherent question sometime soon.

Then again, trying to work out what an OP really wants to know is sometimes as much fun as solving the original problem.

Mike

__________________________________
Mike Lewis (Edinburgh, Scotland)

### RE: numerical combinations

Indeed

Regards

Griff
Keep ing

There are 10 kinds of people in the world, those who understand binary and those who don't.

I'm trying to cut down on the use of shrieks (exclamation marks), I'm told they are !good for you.

#### Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

#### Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Close Box

# Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

• Talk To Other Members
• Notification Of Responses To Questions
• Favorite Forums One Click Access
• Keyword Search Of All Posts, And More...

Register now while it's still free!