Before going on please pause for a quick two question test of your mathematical background.

FOUR!!!!

- You own 10 paintings but have only enough room on your walls for 4 of them. You decide to put a different set of 4 paintings on the wall every day. How many days can you go until running out of combinations?

Paintings? I still can’t tell Manet from Monet.

Click to the bottom for the answers. If you didn’t get both of them right you need to go to my section on probabilities in poker and read my explanation of the factorial function and combinatorial function. This section shall assume you understand both of these. For those who got the second problem correctly the answer in this case shall be represented below by the Excel function combin(10,4).

Following are the various kinds of games offered by the Maryland ** Keluaran Sgp**lottery and their associated probabilities. The cost of a ticket for all games noted is $1 except for the lotto 6/49 with two games for $1.

Pick 3

In Pick 3 the player chooses 2 or 3 numbers from 0 to 9. The lottery shall also choose 3 numbers from 0 to 9 in drawings held twice a day except Sundays with only one drawing. Each ball is chosen from a a separate machine so multiple combinations like 3-3-3 are possible. Below are the various bets available.

Front pair: The player must choose only two numbers and they both must match the first and second numbers drawn in the lottery in the correct order to win. A winning match pays $50. The odds of getting each number correct is 1/10 so the probability of matching 2 is (1/10)2=1/100. The expected return is $50*(1/100) = $0.50 for a house edge of 50.0%.

Back pair: Similar to the front pair but the player must match the second and third numbers drawn in the lottery.

Straight: This is simply matching all 3 numbers in the correct order and pays $500. The odds of getting each number correct is 1/10 so the probability of matching 3 is (1/10)3=1/1000. The expected return is $500*(1/1000) = $0.50 for a house edge of 50.0%.

3 way box: The player must choose two of one number and one of another, for example 5-5-7. If the same three numbers are drawn in the lottery, in any order, the player wins $160. There are combin(3,2)=3 winning combinations out of 1000 that will win (5-5-7, 5-7-5, 7-5-5). The probability of winning is 3/1000. The expected return is $160*(3/1000) = $0.48 for a house edge of 52%.

6 way box: The player must choose three different numbers, for example 4-6-8. If the same three numbers are drawn in the lottery, in any order, the player wins $80. There are 3!=6 winning combinations out of 1000 that will win (4-6-8, 4-8-6, 6-4-8, 6-8-4, 8-4-6, 8-6-4). The probability of winning is 6/1000. The expected return is $80*(6/1000) = $0.48 for a house edge of 52%.

Pick 4

In Pick 4 the player chooses 4 numbers from 0 to 9. The lottery shall also choose 4 numbers from 0 to 9 in drawings held twice a day except Sundays with only one drawing. Each ball is chosen from a a separate machine so multiple combinations like 3-3-3-3 are possible. Below are the various bets available.

Straight: This is simply matching all 4 numbers in the correct order and pays $5000. The odds of getting each number correct is 1/10 so the probability of matching 4 is (1/10)4=1/10000. The expected return is $5000*(1/10000) = $0.50 for a house edge of 50.0%.

4 Way Box: The player must choose 3 of one number and 1 of another, for example 5-5-5-7. If the same four numbers are drawn in the lottery, in any order, the player wins $1200. There are combin(4,3)=4 winning combinations out of 10000 that will win. The probability of winning is 4/10000. The expected return is $1200*(4/10000) = $0.48 for a house edge of 52%.

6 Way Box: The player must choose 2 of one number and 2 of another, for example 5-5-7-7. If the same four numbers are drawn in the lottery, in any order, the player wins $800. There are combin(4,2)=6 winning combinations out of 10000 that will win. The probability of winning is 6/10000. The expected return is $800*(6/10000) = $0.48 for a house edge of 52%.

12 Way Box: The player must choose 2 of one number, 1 of a second number and 1 of a third number, for example 5-5-7-9. If the same four numbers are drawn in the lottery, in any order, the player wins $400. The number of winning combinations are 4!/2! = 12. This is the number of ways to order 4 numbers (4!) divided by the number of ways to order two number (2!) since the order of the same two does not matter. The probability of winning is 12/10000. The expected return is $400*(12/10000) = $0.48 for a house edge of 52%.

24 Way Box: The player must choose 4 different numbers, for example 2-4-6-8. If the same four numbers are drawn in the lottery, in any order, the player wins $200. There are 4!=24 winning combinations out of 10000 that will win. The probability of winning is 24/10000. The expected return is $200*(24/10000) = $0.48 for a house edge of 52%.

Cash in Hand 7/31

In Cash in Hand the player chooses 7 numbers out of 31. The order does not matter. If the player matches 3 or more of the numbers drawn by the lottery the player wins.

The number of possible combinations the lottery will draw is combin(31,7)= 2629575.

The general probability formula for matching x numbers out of y chosen, where there are n to choose from is combin(y,x)*combin(n-y,y-x)/combin(n,y). This is the number of ways to draw x out of y correct numbers, multiplied by the number of ways to draw y-x out of n-y incorrect numbers, divided by the number of ways to draw y balls out of n.

The number of ways the player can draw 3 correctly is the product of the number of ways to choose 3 winners out of 7 and the number of ways to choose 4 losers out of 24. The number of ways to get 3 out of 7 matching balls is combin(7,3)=35. The number of ways to get 4 out of 24 non-matching balls is combin(24,4)=10626. So the total number of ways the player can match 3 out of the 7 numbers chosen by the lottery is 35*10626=371910. The probability of getting 3 right is thus 371910/2629575 =~ 0.1414335 .

The number of ways the player can draw 4 correctly is the product of the number of ways to choose 4 winners out of 7 and the number of ways to choose 3 losers out of 24. The number of ways to get 4 out of 7 matching balls is combin(7,4)=35. The number of ways to get 3 out of 24 non-matching balls is combin(24,3)=2024. So the total number of ways the player can match 3 out of the 7 numbers chosen by the lottery is 35*2024=70840. The probability of getting 4 right is thus 70840/2629575 =~ 0.0269397 .

The number of ways the player can draw 5 correctly is the product of the number of ways to choose 5 winners out of 7 and the number of ways to choose 2 losers out of 24. The number of ways to get 5 out of 7 matching balls is combin(7,5)=21. The number of ways to get 2 out of 24 non-matching balls is combin(24,2)=276. So the total number of ways the player can match 5 out the 7 numbers chosen by the lottery is 21*276=5796. The probability of getting 5 right is thus 5796/2629575 =~ 0.0022042 .

The number of ways the player can draw 6 correctly is the product of the number of ways to choose 6 winners out of 7 and the number of ways to choose 1 loser out of 24. The number of ways to get 6 out of 7 matching balls is combin(7,6)=7. The number of ways to get 1 out of 24 non-matching balls is combin(24,1)=24. So the total number of ways the player can match 6 out of the 7 numbers chosen by the lottery is 7*24=168. The probability of getting 6 right is thus 168/2629575 =~ 0.0000639 .

There is obviously only 1 way the player can get all 7 numbers to match. The probability of getting all 7 is 1/2629575 =~ 0.0000004 .

The following table shows each winning event, the number of combinations, the probability, the payoff, and the contribution to the expected return (the product of the probability and payoff). The player actually wins a free ticket for getting 3 right but to make things simple I shall change this to $1, the cost of a ticket.

From the total return in the lower right hand corner it can be seen the game pays back $0.59139215 for each $1 bet, for a house edge of 40.9%.

Lotto 6/49

The mathematics of lotto 6/49 are much the same as for cash in hand 7/31. The player must pick 6 numbers and has 49 to choose from. The jackpot for getting all 6 right keeps growing until somebody wins. The player may choose from an annuity or a lump sum if they win the jackpot and must choose at the time they buy the ticket. At the time of this writing the next drawing was for March 15, 2000 with a lump sum prize of $3,650,000.

Unlike all other Maryland lottery games with lotto 6/49 the player gets two plays for $1. This table shows the prizes per game but the return is based on a per dollar bet basis. In other words the return is the product of the prize, the probability, and 2.

I will not repeat all the derivations but present the probability table below. It should be stressed that this table was for a the jackpot at a point in time and does not reflect the long term return. According to Howard Benjamin with the Maryland lottery the long term return of lotto 6/49 is about 51%.

I was surprised that the return of 0.72547293 was as high as it was, about the same as keno in any casino.

The Big Game

This game is similar to cash in hand 7/31 and lotto 6/49. The player must select 5 numbers out of 50. The player must also choose a specific “big money ball” from 1 to 36. The “big money ball” is chosen from a separate set of balls. The math is similar to cash in hand 7/31 or lotto 6/49 but the probabilities must be multiplied by 1/36 if the player matches the big money ball and 35/36 otherwise.

Below is the probability table for this game. At the time of this writing the next jackpot for March 14, 2000 was for a lump sum of 4.5 million. It should be stressed that this table was for a the jackpot at a point in time and does not reflect the long term return. According to Howard Benjamin with the Maryland lottery the long term return of lotto 6/49 is about 51%.

Again I was surprised by the total return, this time by how low it was at 0.23860863, for a house edge of 76.14%! In all my years studying gambling this is the worst bet I have ever seen!

Annuity or Lump Sum?

Here in Maryland when you buy a lotto 6/49 or big game lottery ticket you must indicate at the time of sale whether you prefer to be paid in a 20 year annuity or a lump sum if you win the jackpot. The lump sum option is half the total of the annuity payments. To help make this decision the following table indicate the value of a $1,000,000 annuity paid out over 20, 25, or 30 years and at various interest rates from 3% to 15%.

As a practical example suppose you are deciding whether to take the annuity or lump sum on a Maryland lottery jackpot. The value of the lump sum is $500,000. Maryland lottery annuities are paid over 20 years. At an interest rate of 8.8% a $1,000,000 annuity has a value of $503,752. At 9.0% the value is $497,506. Using linear interpolation we find that at an interest rate of 8.88% the value is very close to $500,000. 8.88% is much more than the interest rate of most safe investments so for this reason I would suggest opting for the annuity. The maximum tax rate of 39.6% will also apply to most of the jackpot if taken in a lump sum, as opposed to more of the payments falling in lower tax brackets if paid as an annuity.