Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

numerical combinations

Status
Not open for further replies.

lista0800

Programmer
Oct 8, 2019
4
BR
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
 
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 [Smile]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.
 
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
 
Not really sure how that will help him.

Perhaps he will return with a coherent question sometime soon.


Regards

Griff
Keep [Smile]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.
 
Indeed

Regards

Griff
Keep [Smile]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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top