
In 1975, when I was a high school student, the Canadian government held its first lottery, to help cover the costs of the 1976 Olympic Games in Montreal. In those days lotteries were unheard of, and this one offered one Canadian the chance of winning a million dollars at the price of ten dollars per ticket. The actual draw was televised live, as the climax of an hour-long variety show. I was very excited. I didnt win.
Nowadays, of course, lotteries are no big deal. They have become part of our daily life, with chances to win prizes big and small on practically every day of the week. Ever since blowing ten bucks in 1975, Ive been fascinated with calculating the odds in games and lotteries. Id like to show you how to calculate the chances in some different games, and finish off with a discussion of Lotto 6-49.
In solving this kind of problem, the numbers involved are very large, but the idea is quite simple: the chance of an event is the ratio of favorable outcomes to the total number of outcomes. A branch of mathematics called combinatorics helps us count these big numbers.
| The Probability Formula. |
| The chance of an event is equal to the number of favorable outcomes divided by the total number of outcomes. |
For instance, the total number of outcomes in Lotto 6-49 is 13,983,816. So, your odds of hitting the jackpot are about one in fourteen million! But how do they come up with the number 13,983,816? Did someone have to sit down with a paper and pencil, and write out all the different things that could happen?
The answer is no, to find the number of outcomes you dont have to list them out; you just use some basic mathematics. Let me show you, but before we try to tackle the Lotto 6-49 problem well warm up with some simpler problems.

Rolling the dice.

Whats the chance of rolling a
, if you roll a fair die? Since all possible outcomes are
, and there is only one favorable outcome
, the chance is 1/6.
Whats the chance of rolling at least one
if you roll two fair dice? The set of possible outcomes is illustrated here:

are
. Since there are eleven of these, the chance of rolling at least one
with two fair dice is 11/36.
If we want to go any farther, we need ways of counting the number of outcomes without actually listing them all out. Luckily, the multiplication rule comes to the rescue.
| The multiplication rule. |
|
The number of pairs is equal to the number of choices for the first object times the number of choices for the second object. This also works for triples, quadruples, etc. |
The multiplication rule says that, since there are 6 choices for each roll, the number of pairs is 6 x 6=36. Hey! This is exactly how many we counted above. How about the number of pairs with at least one
? Here we cant apply the multiplication rule directly. Lets look at the opposite problem, and count the number of pairs with no sixes. If we dont allow
, we have five choices for the first die and five for the second, so there are 5 x 5=25 pairs with no
s. So the number of pairs with at least one six must be 36-25=11. The chance of getting at least one six with a pair of dice is 11/36.
Do you see what happened? We just solved the two dice problem without listing the outcomes. The nice thing is that the same idea works no matter how many dice we use.
Suppose we roll ten dice. The total number of outcomes is 610 = 60,466,176. The number of outcomes with no
s is 510 = 9,765,625, so there are 60,466,176-9,765,625=50,700,551 outcomes with at least one
. The chance of rolling at least one
with ten dice is 50,700,551/60,466,176=.8385: about an 84% chance.

Birthdays.
Do you know anyone in your class that has the same birthday as you? You might be surprised to find that matching birthdays are not that unusual. Lets figure out the chances of a shared birthday.
I am going to use the number 30 as the class size; you could find the chance in the same way for any other class size.
We ignore leap years and assume that there are 365 possible birthdays. An outcome is just a list of 30 birthdays, so the multiplication rule says that the total number of outcomes is 36530= 7.392 x 1076 points.
The number of outcomes without a shared birthday is 365 x 364 x 363 x ... x 336= 2.171 x 1076. Why? There are 365 choices for the first persons birthday. Since the second persons birthday must be different, there are only 364 choices. The third persons birthday must be different than both of the first two, leaving 363 choices, etc.
By subtracting we find that the number of outcomes with a shared birthday is 7.392 x 1076-2.171 x 1076=5.221 x 1076, and so the chance of a shared birthday is (5.221 x 1076)/(7.392 x 1076)=.7036, about 70%.
| If you wonder where the formulas come from... |
The number of ways to order n distinct objects is called "n factorial" and is written n!=n x (n-1) x ... x 1. If you dont use the whole set, the number of ordered sets of r objects chosen from n distinct objects is n x (n-1) x ... x (n-r+1)=n!/(n-r)!. Each unordered set of size r corresponds to r! distinct ordered sets, so we must divide by r! to get the number of such unordered sets. This value is called n choose r" and written =n!/r!(n-r)!. For instance, suppose that r=3. Then all six ordered sets ABC, ACB, BAC, BCA, CAB, CBA correspond to the same unordered set {A, B, C}. The number of unordered sets is one-sixth the number of ordered sets. |

The 52-card shuffle.

Shuffling a deck of cards puts them into a particular order.
What is the probability that someone else, sometime in the past, has shuffled a deck of cards into the exact same order?
The number of different ways to order a deck of cards is 52!= 8.0658 x 1067. To understand how big this number is, let us suppose that everyone on earth, from the beginning of time, has been doing nothing but shuffling cards and checking what order the deck is in. Lets overdo it, and suppose that mankind has been on earth for a million years, and that the population of the earth was constantly equal to 10 billion. If we can do one shuffle per second, then the total number of shuffles in history is 10,000,000,000 x 1,000,000 x 365 x 24 x 60 x 60 = 3.1536 x 1023. This is less than one billionth of one billionth of one billionth of the total number of possible shuffles. By shuffling an ordinary deck of cards, youve created something that has never existed before in the history of the universe!
| Try this at home! |
Now that Ive convinced you that the number of possible shuffles for a deck of cards is incredibly large, you may find the following game quite interesting. Take two decks of cards and shuffle both of them thoroughly. Give one deck to a friend and place both your decks face down. Now, at the same time, you and your friend turn over your top card. Are they the same card? No? Then try again with the second card, the third card, etc. If you go through the whole deck, do you think you and your friend will ever turn over the same card? Try it and see! |


The number of possible ticket combinations is
=13,983,816. Your chance of winning the jackpot therefore is one out of 13,983,816, which is 7.15 x 10-8.
As for matching three numbers, consider the numbers from 1 to 49 as divided into two groups: the six numbers on your ticket, and the forty-three numbers that arent on your ticket. To win ten dollars you need exactly three from the first group, and three from the second group. The number of Lotto 6-49 drawings of that type is 
We can find all the Lotto 6-49 probabilities in the same way. The bottom of the ratio is always equal to the total number of Lotto 6-49 draws:
. The top of the ratio always has two terms, 43 choose something times 6 choose something. The term with 43 represents the number of ways to choose from the 43 values not on your ticket, and the other term represents the number of ways to choose from the 6 values on your ticket. If you think of the numbers as good" or bad" according to whether they are on your ticket or not, then
is the number of draws that result in 6 bad numbers and 0 good numbers. Similarly,
is 5 bad numbers and 1 good number, and so on. The following table gives the complete lowdown on Lotto 6-49. 
| An unsolved Lotto 6-49 problem. |
One way to win Lotto 6-49 is to buy 13,983,816 tickets: one of each type. Of course this costs $13,983,816 and probably isnt worth it. Suppose youd settle for ten dollars. Whats the smallest number of Lotto 6-49 tickets you need to buy to guarantee matching at least 3 numbers? Even with todays supercomputers and advanced mathematics, the answer is: Nobody knows.
|

| Created by MicroPress TeXpider, and a lot of fiddling by Byron Schmuland. |