Welcome Guest
You last visited December 4, 2016, 9:15 am
All times shown are
Eastern Time (GMT-5:00)

# Consecutives

Topic closed. 9 replies. Last post 11 years ago by cps10.

 Page 1 of 1
The Carolinas - Charlotte
United States
Member #21627
September 12, 2005
4138 Posts
Offline
 Posted: May 1, 2006, 8:20 pm - IP Logged

I am trying to find out the number of combinations in a Pick-5 game if you have a consecutive, and no more than 3 consecutives in a row.

In other words, you could have the following:

1-2-8-14-30 OR

1-2-3-14-30

But, you could never have something like this:

1-2-3-4-30

Does this make sense?

Can anyone tell me the formula for something like this for the number of combinations possible given the parameters above for any given number of balls?

For instance, SOUTH CAROLINA has a 5/39 game, or 1:501,000+ odds

Any help would be appreciated.

The North Carolina Education Lottery - so much a joke that here are their mascots:

United States
Member #13130
March 30, 2005
2171 Posts
Offline
 Posted: May 2, 2006, 4:51 am - IP Logged

I don't know that there is a simple single formula that you could use to find this. It may have to be done by brute force, or in pieces i.e. how many cases of 1-2-a-b-c, a-2-3-b-c and so on. In either case, for an "X" choose 5 game, the final answer will depend on "X". If you already have a method for creating all combinations, then brute force counting is the simpler way to go.

In neo-conned Amerika, bank robs you.
Alcohol, Tobacco, and Firearms should be the name of a convenience store, not a govnoment agency.

The Carolinas - Charlotte
United States
Member #21627
September 12, 2005
4138 Posts
Offline
 Posted: May 2, 2006, 3:24 pm - IP Logged

Thanks time*treat

You are right...it could be brute force, which will stink. However, I think that if you plug together the first set of criteria, you could multiply by the number of two number consecutive combinations, right?

The North Carolina Education Lottery - so much a joke that here are their mascots:

United States
Member #13130
March 30, 2005
2171 Posts
Offline
 Posted: May 2, 2006, 4:44 pm - IP Logged

Well, it would be more like adding a series of decreasing numbers (a summation equation)

As far as brute force, your PC can do it in a few mins and will let you decide if you want to consider such consecutives as 1-2-8-14-15; two deltas of one. So you would have your 5 main numbers, and your 4 delta numbers, and your code examines the deltas, and counts and/or prints what you want.

Once you have the code built, the "cost" of exploring other possibilities drops considerably.

 numbers deltas name 01-02-03-04-05 1-1-1-1 quad 01-02-03-04-06 1-1-1-2 triple 01-02-03-05-07 1-1-2-2 2_pair 01-02-03-05-08 1-1-2-3 pair (twin) 01-02-04-07-11 1-2-3-4 unique

You could look at numbers where the lowest value isn't 1, and of course they won't always be in numerical order, but the above is just for illustration.

In neo-conned Amerika, bank robs you.
Alcohol, Tobacco, and Firearms should be the name of a convenience store, not a govnoment agency.

The Carolinas - Charlotte
United States
Member #21627
September 12, 2005
4138 Posts
Offline
 Posted: May 2, 2006, 4:52 pm - IP Logged

Thanks time...yeah, that is a little above my knowledge, but you have it right. Although the 01-02-03-04 would not be a possibility based on the rules that I set.

But you could have a 01-02-03-07-08

The North Carolina Education Lottery - so much a joke that here are their mascots:

CA
United States
Member #2987
December 10, 2003
832 Posts
Offline
 Posted: May 3, 2006, 2:58 pm - IP Logged

In a 5/39 matrix there are 575,757 possibilities. Picking two numbers to repeat - ANY two numbers - will yield a matrix which is the same as a 3/37 lottery, giving you a total of 7,770 possibilities.

gl

j

Blessed Saint Leibowitz, keep 'em dreamin' down there.....

Next week's convention for Psychics and Prognosticators has been cancelled due to unforeseen circumstances.

=^.^=

The Carolinas - Charlotte
United States
Member #21627
September 12, 2005
4138 Posts
Offline
 Posted: May 3, 2006, 3:51 pm - IP Logged

John

Thank you for your assistance. Actually when I was doing the workout last night by hand (I got tired after 50,000 combos), I found it much more than 7700, because you could still have this situation:

1-2-4-5-6

or

1-2-5-18-19

There could be multiple consecutives.

Now, are you saying that if there was only 1 consecutive in the string, that there would be 7,770 possibilities, as in the 1-2 would be the only consecutive, yielding a

1-2-4-13-25 for example

or

1-10-14-18-19?

Actually the SC game is 5/38, not 5/39. That was my mistake. If that's the case, please let me know. Thank you!

The North Carolina Education Lottery - so much a joke that here are their mascots:

Switching between Fairfax, VA and Belgium
Belgium
Member #19287
July 29, 2005
2254 Posts
Offline
 Posted: May 4, 2006, 1:40 am - IP Logged

You did 50000 by hand???

lol

anyway, there are alot more than 7700 combo's,
i have excluded these "1-2-3-8-9" (where the numbers form all consecutive-groups), "1-2-3-4-9" and "1-2-3-4-5"
valid: 1-2-3-8-10, 1-2-4-5-8

Result: 221408 combo's

surely i must have done something wrong...

lasas3

An onion a day keeps everyone away!!!

FEMA Region V Camp #21
United States
Member #520
July 27, 2002
5699 Posts
Offline
 Posted: May 4, 2006, 9:14 am - IP Logged

cps10,

In a 5/39 game the breakdown for adjacent numbers drawn is approximately:

1     "          "    ....40%
2     "          "    .....7%
3 or 4 "       "    .....one half of one percent.

1-2-3-x-x would be considered 2 adjacent pairs.

Good luck!

Posted 4/6:  IL Pick 3 midday and evening until they hit:  555, 347 (str8).

The Carolinas - Charlotte
United States
Member #21627
September 12, 2005
4138 Posts
Offline
 Posted: May 4, 2006, 10:28 am - IP Logged

Rick

That is very interesting. Even one adjacent pair would be 220,000+ combos, like Ricky suggested. Oh well, back to the drawing board. I was thinking that maybe playing (albeit HUGE money to do so) a consecutive every 5th drawing or so would work out to some big money.

The North Carolina Education Lottery - so much a joke that here are their mascots:

 Page 1 of 1