×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*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.

Students Click Here

Jobs

numerical combinations

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

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 Smileing

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)

Visual FoxPro articles, tips and downloads

RE: numerical combinations

Not really sure how that will help him.

Perhaps he will return with a coherent question sometime soon.

Regards

Griff
Keep Smileing

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)

Visual FoxPro articles, tips and downloads

RE: numerical combinations

Indeed

Regards

Griff
Keep Smileing

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.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

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:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close