You are on page 1of 71

Combinations and Permutations

What's the Difference?


In English we use the word "combination" loosely, without thinking if the order of things is important. In
other words:
"My fruit salad is a combination of apples, grapes and bananas" We don't care what order
the fruits are in, they could also be "bananas, grapes and apples" or "grapes, apples and
bananas", its the same fruit salad.
"The combination to the safe was 472". Now we do care about the order. "724" would not
work, nor would "247". It has to be exactly 4-7-2.
So, in Mathematics we use more precise language:
If the order doesn't matter, it is a Combination.
If the order does matter it is a Permutation.

So, we should really call this a "Permutation Lock"!

In other words:

A Permutation is an ordered Combination.

To help you to remember, think "Permutation ... Position"

Permutations
There are basically two types of permutation:

Repetition is Allowed: such as the lock above. It could be "333".

No Repetition: for example the first three people in a running race. You can't be
first and second.

1. Permutations with Repetition

These are the easiest to calculate.

When you have n things to choose from ... you have n choices each time!

When choosing r of them, the permutations are:

n n ... (r times)

(In other words, there are n possibilities for the first choice, THEN there are n possibilites for the second
choice, and so on, multplying each time.)
Which is easier to write down using an exponent of r:
n n ... (r times) = nr
Example: in the lock above, there are 10 numbers to choose from (0,1,..9) and you choose 3 of them:
10 10 ... (3 times) = 103 = 1,000 permutations
So, the formula is simply:

nr
where n is the number of things to choose from, and you
choose r of them
(Repetition allowed, order matters)

2. Permutations without Repetition


In this case, you have to reduce the number of available choices each time.

For example, what order could 16 pool balls be in?

After choosing, say, number "14" you can't choose


it again.

So, your first choice would have 16 possibilites, and your next choice would then have 15 possibilities,
then 14, 13, etc. And the total permutations would be:

16 15 14 13 ... = 20,922,789,888,000

But maybe you don't want to choose them all, just 3 of them, so that would be only:

16 15 14 = 3,360

In other words, there are 3,360 different ways that 3 pool balls could be selected out of 16 balls.
But how do we write that mathematically? Answer: we use the "factorial function"

The factorial function (symbol: ) just means to multiply a series of descending natural
numbers. Examples:

4! = 4 3 2 1 = 24

7! = 7 6 5 4 3 2 1 = 5,040

1! = 1

Note: it is generally agreed that 0! = 1. It may seem funny that multiplying no numbers together gets you 1,
but it helps simplify a lot of equations.
So, if you wanted to select all of the billiard balls the permutations would be:

16! = 20,922,789,888,000

But if you wanted to select just 3, then you have to stop the multiplying after 14. How do you do that?
There is a neat trick ... you divide by 13! ...
16 15 14 13 12 ... = 16 15 14 = 3,360
13 12 ...
Do you see? 16! / 13! = 16 15 14

The formula is written:

where n is the number of things to choose from, and you


choose r of them
(No repetition, order matters)

Examples:
Our "order of 3 out of 16 pool balls example" would be:
16!

(16-3)!

16!

20,922,789,888,000

13!

= 3,360

6,227,020,800

(which is just the same as: 16 15 14 = 3,360)

How many ways can first and second place be awarded to 10 people?
10!
(10-2)!

10!
8!

3,628,800
40,320

(which is just the same as: 10 9 = 90)

Notation

= 90

Instead of writing the whole formula, people use different notations such as these:

Example: P(10,2) = 90

Combinations
There are also two types of combinations (remember the order does not matter now):

Repetition is Allowed: such as coins in your pocket (5,5,5,10,10)

No Repetition: such as lottery numbers (2,14,15,27,30,33)

1. Combinations with Repetition


Actually, these are the hardest to explain, so I will come back to this later.

2. Combinations without Repetition


This is how lotteries work. The numbers are drawn one at a time, and if you have the lucky numbers (no
matter what order) you win!

The easiest way to explain it is to:

assume that the order does matter (ie permutations),

then alter it so the order does not matter.

Going back to our pool ball example, let us say that you just want to know which 3 pool balls were
chosen, not the order.

We already know that 3 out of 16 gave us 3,360 permutations.

But many of those will be the same to us now, because we don't care what order!

For example, let us say balls 1, 2 and 3 were chosen. These are the possibilites:
Order does matter
123
132
213
231
312
321

Order doesn't matter

So, the permutations will have 6 times as many possibilites.

123

In fact there is an easy way to work out how many ways "1 2 3" could be placed in order, and we have
already talked about it. The answer is:

3! = 3 2 1 = 6

(Another example: 4 things can be placed in 4! = 4 3 2 1 = 24 different ways, try it for yourself!)

So, all we need to do is adjust our permutations formula to reduce it by how many ways the objects
could be in order (because we aren't interested in the order any more):

That formula is so important it is often just written in big parentheses like this:

where n is the number of things to choose from, and you


choose r of them
(No repetition, order doesn't matter)
It is often called "n choose r" (such as "16 choose 3")
And is also known as the "Binomial Coefficient"

Notation
As well as the "big parentheses", people also use these notations:

Example
So, our pool ball example (now without order) is:
16!
3!(16-3)!

16!

20,922,789,888,000

3!13!

= 560

66,227,020,800

Or you could do it this way:


161514
321

3360

= 560

So remember, do the permutation, then reduce by a further "r!"


... or better still ...

Remember the Formula!


It is interesting to also note how this formula is nice and symmetrical:

In other words choosing 3 balls out of 16, or choosing 13 balls out of 16 have the same number of
combinations.
16!

3!(16-3)!

16!

16!

13!(16-13)!

= 560

3!13!

Pascal's Triangle
You can also use Pascal's Triangle to find the values. Go down to row "n" (the top row is 0), and then
along "r" places and the value there is your answer. Here is an extract showing row 16:

1
1
1

14
15

16

91
105

120

560

364
455

...

1365

1820

...

4368

...

1. Combinations with Repetition


OK, now we can tackle this one ...

Let us say there are five flavors of icecream: banana, chocolate, lemon, strawberry
and vanilla. You can have three scoops. How many variations will there be?

Let's use letters for the flavors: {b, c, l, s, v}. Example selections would be

{c, c, c} (3 scoops of chocolate)

{b, l, v} (one each of banana, lemon and vanilla)

{b, v, v} (one of banana, two of vanilla)

(And just to be clear: There are n=5 things to choose from, and you choose r=3 of them.
Order does not matter, and you can repeat!)

Now, I can't describe directly to you how to calculate this, but I can show you a special technique that
lets you work it out.

Think about the ice cream being in boxes, you could say "move past
the first box, then take 3 scoops, then move along 3 more boxes to
the end" and you will have 3 scoops of chocolate!

So, it is like you are ordering a robot to get your ice cream, but it
doesn't change anything, you still get what you want.
Now you could write this down as
(arrow means move, circle means scoop).
In fact the three examples above would be written like this:
{c, c, c} (3 scoops of chocolate):
{b, l, v} (one each of banana, lemon and vanilla):
{b, v, v} (one of banana, two of vanilla):
OK, so instead of worrying about different flavors, we have a simpler problem to solve: "how many
different ways can you arrange arrows and circles"

Notice that there are always 3 circles (3 scoops of ice cream) and 4 arrows (you need to move 4 times to
go from the 1st to 5th container).

So (being general here) there are r + (n-1) positions, and we want to choose r of them to have circles.

This is like saying "we have r + (n-1) pool balls and want to choose r of them". In other words it is now
like the pool balls problem, but with slightly changed numbers. And you would write it like this:

where n is the number of things to choose


from, and you choose r of them
(Repetition allowed, order doesn't
matter)
Interestingly, we could have looked at the arrows instead of the circles, and we would have then been
saying "we have r + (n-1) positions and want to choose (n-1) of them to have arrows", and the answer
would be the same ...

So, what about our example, what is the answer?


(5+3-1)!
3!(5-1)!

7!
3!4!

5040

= 35

624

In Conclusion
Phew, that was a lot to absorb, so maybe you could read it again to be sure!

But knowing how these formulas work is only half the battle. Figuring out how to interpret a real world
situation can be quite hard.

But at least now you know how to calculate all 4 variations of "Order does/does not matter" and "Repeats
are/are not allowed".

A permutation

is an arrangement of objects in
specific order.
The order of the arrangement is important!!

Consider, four students


walking toward their school entrance. How many
different ways could they arrange themselves in this
side-by-side pattern?
1,2,3,4
1,2,4,3
1,3,2,4
1,3,4,2
1,4,2,3
1,4,3,2

2,1,3,4
2,1,4,3
2,3,1,4
2,3,4,1
2,4,1,3
2,4,3,1

3,2,1,4
3,2,4,1
3,1,2,4
3,1,4,2
3,4,2,1
3,4,1,2

4,2,3,1
4,2,1,3
4,3,2,1
4,3,1,2
4,1,2,3
4,1,3,2

The number of different arrangements is 24 or 4! = 4


3 2 1.
There are 24 different arrangements,
or permutations, of the four students walking sideby-side.

The notation for a permutation:

n
r
n is the total number of objects
is the number of objects chosen (want)

0100090000032e35000000008d1b000000001610000026060f002220574
d4643010000000000010052d100000000020000000020000080120000803
20000010000006c000000000000000000000032000000590000000000000
00000000007070000670c000020454d4600000100803200000c000000010
000000000000000000000000000005605000000030000e20100000f01000
0000000000000000000000000665a070055220400460000002c000000200

00000454d462b014001001c000000100000000210c0db010000007800000
07800000046000000140c0000080c0000454d462b224004000c000000000
000001e4009000c00000000000000244001000c000000000000003040020
010000000040000000000803f214007000c0000000000000008400005600b
0000540b00000210c0db0100000000000000000000000000000000000000
01000000ffd8ffe000104a46494600010100000100010000ffdb00430003020
20302020303030304030304050805050404050a070706080c0a0c0c0b0a0
b0b0d0e12100d0e110e0b0b1016101113141515150c0f1718161418121415
14ffdb00430103040405040509050509140d0b0d141414141414141414141
414141414141414141414141414141414141414141414141414141414141
4141414141414141414ffc0001108005a003303012200021101031101ffc40
01f0000010501010101010100000000000000000102030405060708090a0
bffc400b5100002010303020403050504040000017d010203000411051221
31410613516107227114328191a1082342b1c11552d1f02433627282090a1
61718191a25262728292a3435363738393a434445464748494a535455565
758595a636465666768696a737475767778797a838485868788898a92939
495969798999aa2a3a4a5a6a7a8a9aab2b3b4b5b6b7b8b9bac2c3c4c5c6c7
c8c9cad2d3d4d5d6d7d8d9dae1e2e3e4e5e6e7e8e9eaf1f2f3f4f5f6f7f8f9faff
c4001f0100030101010101010101010000000000000102030405060708090
a0bffc400b511000201020404030407050404000102770001020311040521
31061241510761711322328108144291a1b1c109233352f0156272d10a162
434e125f11718191a262728292a35363738393a434445464748494a535455
565758595a636465666768696a737475767778797a82838485868788898a
92939495969798999aa2a3a4a5a6a7a8a9aab2b3b4b5b6b7b8b9bac2c3c4c
5c6c7c8c9cad2d3d4d5d6d7d8d9dae2e3e4e5e6e7e8e9eaf2f3f4f5f6f7f8f9faf
fda000c03010002110311003f00fd33f19dfcd61a1cad6e76dc4ac90c6de85d
82f43c1eb5f8bff17be2bfc48f19fc54f1e5ce97e2cf185de8a9e22bf82dadad7
55bafb3448b70eb1c62357080610610752d5fb2fe3d90269fa782db436a16c
33ff6d56bf2b3f66226eb42f17dfe722efc4575267ea11bff0066aae7f67072b1
95457b1e4d75e29d735196169b45f3e70af25c44da4cd20691dd89563e796
28a02ed618c6791c556b5bbd66196de68f4fd4e268c92443a5ce3713d41c4d
ce0fe38c57d914563f5b7fca65ca7c98ff12be226925aea0d73c5da0da44000f
697d7f6d0af5018e642aa79c75edd2bf53bf66bf1d5fea7f07bc113ea77d3ea7
797160125b9b96dd2cae923a16663c93851c9af8f3e2f207f82df1001e5468e
ce41ff0066689bfa57d17fb2dcad27c1ef0a2924b437b7d0ae7a81e696c1fc58
d75d19fb7dd75fd0a82e591f56a48594151c1e69dbdbd2a1b7f960407ae2a4
dc2b1e546f738ef8ab3fd9f43b37f4be848fc371fe95f975fb26866f85d7b21ce
1f58b83d3bf9709ebf88afd38f8cec4787ec140c96bd51b7d7e47fcf9c715f8bb
e07d674ef0ce817b6dadfc40f11fc38d5217f320d3e1b1bb686f98804bb152a
b1138d9c8231839e3029d37520e28cea3b58fb428af9362f1ec16de16d16f2c
fe3c6ad36a9752c115ee85135e2cb6019d7ce90c85363ac637310a496c703d
7a1b9f14e95078aa2d3c7ed23a94ba28b5339d78457e618a5f9556011f961f
7952c7701b7040ce4e0f3fd525fccbf131e63dc3e28a6ff83bf10b8240d0a724
ff0077e64e4ff9f7af7bfd96a5dbf083413cff00c852f3af5fbc3afbd7c39ad69fa
8daf85753b8f18f8e7c7b6d61752496fa4c777a1ea2d63adc78cc27cc936a22
c846769e46d1903a57db5fb334725b7c2cf0ea4b0c90b9bebb3b6442bc1938
c640e315db86a4e93b5efafe8545de48fadad8eeb78cff00b22a4a86cffe3d63
fa54d506c705f1c467c2d6e3b9b9e0e3b88a4af0cd2355d7a48edb4d8b43b1f
1068b2c823cddcb0916ac58f9826498e4a15208318620820a9cd7ba7c6d1b
bc3b62bddaef68e9ff003c65af92758d7bc65a578eb46b3f0ff85edf5dd3eee5

459dc6b3f622c039121ba4322ee8d532c3f77203f3038e865392f8526fcc9a9
b1b30e9b2eafe29f1569f75fb37786b54b5d32da79ace78ecb4e896fa54198a
249374859a638c6e8d0ae7a0c0ad0f85ba6f8765d1c6bfe29f80fe1bf873790
6a022b2b99f478904a56332f9a14c2af6fb5c08c17e0bae430045798695e16
0de3bf8a514df09fe22ac52596aaa59b5661672876e96c323f7b28c3200cdb4
03c608cf51f0bfc5ba97c26f86b75a8e85f0f7c79aa4b7faac715cdc6ac92dc4a
8a20caba5af950c9e4a9c4476420176cb33020d6ad5fa929db73d6b45f897a
a586a64ea7729359c971346b2c921d93321dc857aed7604ed1dc63935e87a
cb89f59b59f6b969258db74b9de018c1c1fcfa7ae6bc46cfc75f12746f18f83ed
6c3e1b490e8dad5b5bca6e75cd5ede33a66f70678594157468f8c2fef9c860a
368040f6fd74a9d7230ac582dca8cb75fb83aff3fa11f4a7495a68d16c7a5d92
836917cac7e51cd4fb47f75aa0b1ff008f48bfdd153d6680e1be3290da468e9
c92fa946b8519eb1c9fcfa57c39e3bf87d1f897e2ce8d7771f066ff00c708b2da
81ace9dad496a25f2ae77ec99141511db9db212fb776fda0f15f71fc62e6c340
1c9ceab17007fb127ea7a57c0bf13a2f0b5cfc69d38eb1e10f1e5fdd5e49688b
a9f85e6020b92b30291ae23322b44db9a431cb1929c124038511487f85534
35f89df18ed8784be3169ad6da76b32cb73a64b1b174794349242cbb1de66
2736eb233614900f5c644da97866eff674fed4874af8cdabda45e2745479e08
163497ec9b7884b4917d98293b8ec244c7a03cd7da77b73aa4d0a0bbd3c2a
c134325b5ca64c32ed39011635dc9e6e4fde3ced18ef51db9d5270368befb7
340d16fc2dbdcc6ace584e3e5f253cbcf9638e4753ba9f30ac78e784ff0067ff0
0875e25bff007896fbc0be2ab7d5edb4ad292d935ebe99a49d210b242b79b4
ec3244c771cede5146318afa075291e5d6dddc92e7506c13dc7969ec3be6b9
11a8d95a78e4d9cf797d657d3cd0c8fa3f960a6ec8388018cb003186dac064
138ce73d86a6a06b1081ce6f243c7d71fd2ae96b51147a959ff00c7ac79ebb6
a6a86cc62d62ff0076a6a80383f8cf2f95a7e804673fdad0e3ae33b24af887e2
8eafa47857e3104baf8a7e20f0490d14f259e9f693cf696b6c66c23b48a4c31a
4cc4c4de6a38e14f18cd7dc3f1c2cae27f034f776a374da7cb15f6dda5b72c6d
b9c7fdf1bff122be5df1c784fc13e26f88da36b9afe9f697724714379a6ea2f12
108c08233b90e54ec46d8783e99e428bb0495cf55bbb382cb4d5bd6d4d218
679e002ddd7cb6b57de3606906e76103647cfc264818040a8a7b589ac62b7
bc962622deea58ada3b254170a1c9960fb336133237ef064fcc0870335811e
ada5c0d35c5bda450deee85ae3c9b911ade2e7f7eab2348e1cc990577226dc
6d279cd695deb5e1e7681acb4e91b48002be9f24a37472060525f2bcc05805
ca9064003720600a1dae0af62fda7f6ab78e6516732dfd9a4cb01bc9b28038
da5ca36fda56427736e427e6e188c01d149393a869519da4cb9b8620e7e67
766201f4c9c0f6ae599f481ac5d6a967793f9ec36c3a7add2bc4cecbe5a3302
18ee55201dad83b3904806b734f97fb43c62638590dada797681541c864cb
4873dc6582f1fddc1e41036a577517909687b65a0536d1fccdf7454db57fbcd
4db55d96d10e010a3207ad4bf8d6699a7285edbadd40d1b60e41fbdcfe63d2
be52f8abfb3b5ecf24c9a2dfbdbe9ed968ec2652d1c24b127cb2b865049276e
48c93c735f5a567ea88ad11c807ea2953693b34267c172fecefe21466c6ad2
31c9f904863fd4a35469fb3cf88e43f36a53c7ee2e8b7fed115f6d1b7889ff005
69ff7c8a4fb345ff3c93fef915d6a34bf97f162bb3e46f087c0bd6f46d621bd9b
5ebd2d03abc6b00e73c839278e878c0c8e48e715f497c37f03b698b0b489b1
231854c938e727f124939ea7393c935d65bdbc41bfd527fdf22ba3b450b128
00018e82a67354e2d415ae2b5c994055007414b9a28ae12cffd9000840010
824000000180000000210c0db01000000030000000000000000000000000
000001b40000040000000340000000100000002000000000000bf000000bf
00004c420000b44203000000000000b3000000b3ffff4b42000000b3000000

b3ffffb3422100000008000000620000000c00000001000000150000000c00
000004000000150000000c00000004000000510000000825000000000000
000000003200000059000000000000000000000000000000000000003300
00005a00000050000000280000007800000090240000000000002000cc00
330000005a00000028000000330000005a00000001001000000000000000
000000000000000000000000000000000000ff7fff7fff7fff7fff7fff7fff7fff7fff7f
ff7fff7fff7fff7fff7fdf7bdf7bdf77df7bde77df7bbe77df77be77df7bbe77df77bf7
7df7bbe77df77bf77df7bbf77df7bbf77df7bbf77df7bdf7bdf7fdf7bff7fff7fff7fff
7fff7fff7fff7fff7fff7fff7f0000ff7fff7fff7fff7fff7fff7fff7fff7fff7fff7fff7fff7fff7fdf7b
df7bbe77be739e73be739e739e739d73be739e739e739d739e739e739e739
d739e739e739f739e739f779e73bf779e73bf77be77df7bdf7bff7fff7fff7fff7fff
7fff7fff7fff7fff7f0000ff7fff7fff7fff7fff7fff7fff7fff7fff7fff7fdf7bdf7bbe77bf777c6
f9e737d6f7d6f5c6b5d6b3c6b5d6b5c6b5d6b5c6b5d6f5d6b5d6f5d6b7e6f5d
6b5d6f3d6b5d6f3c675d6b7d6f7d6f5c6b9e739e73bf7b9e73ff7fff7fff7ffe7fff
7fff7fff7fff7f0000ff7fff7fff7fff7fff7fff7fff7fff7fff7fdf7bdf7b9d739e737d6f7d6f
1b635c6b1b673c671c673c673c673d6b3c673c671c673c671c633c671c673c
671c673d6b1c673c6b1a633b675c6b7d6f3b677e739e73bf7bbf77df7bff7fff7
ffe7fff7fff7fff7f0000ff7fff7fff7fff7fff7fff7fff7fff7fdf7bbe779e739e735c6b5b6b
3b673b67fa62fb62fb621c671b631b63fb5efb5efb5efb62fb5e1b63fb5e1c63f
b621c63fa5efb62fa623b67f95e3b67d85a5c6b5d6b1b639f73bf77be77ff7bff
7fff7fff7fff7fff7f0000ff7fff7fff7fff7fff7fff7fff7fdf7fff7f9d739d733a671963f85e
9652544a9652754e9652754e554e34463346f241f23df13d1242124234463
446554a554a96527652975296521a63f9625c6b1a63f95e7e6f3b677d6fbe7
3df7bff7fff7fff7fff7fff7f0000ff7fff7fff7fff7fff7fff7fdf7fbe77be779d735b6b955
2534af13dcf39cf39f0411042ef3d10423146524a534a744e734e744e734e73
4e534a534a3246534a12421242f03d8d31534a955296521a631a5f3c671b6
35d6b7d6fbe77be77ff7fff7fff7fff7f0000ff7fff7fff7fff7fff7fff7fff7fdf7bbd77396
31142ae35f03d534a744ef03d0f42cd39cd39ac35ac358c31ac358c31ac35ac
31ac358c31ad358c31ac358c31ae35ad35cf39ce39ef39ef39cf3996521b63d
95a5d6b3c677e6f9e73df77ff7fff7fff7fff7f0000ff7fff7fff7fff7fff7fff7fde7bdf7b
1863524a3146d65695523246ae35cf39ce39ce3dce39ef3dce3def3dcf3def3
dce39ef3dce39cf3dce39cf39ce39cf39ef3def39cd350f3ecd39ad35f75ab656
54463d67fa5e1b631b639f73be73df7bff7fff7fff7f0000ff7fff7fff7fff7fff7fff7fd
e7b9c73524a10429d73b6569552524a52461042524a314632463246324a3
146524a3246524a3246524a3246524a3246524a524a524a524a724e5146b
452514ad75a9d73d85a34469f733c675d6b5d6bbe73df7bff7fff7fff7f0000ff7
fff7fff7fff7fff7fff7fde7b945210425b6b3963b556734e32463146734e744eb6
56b556b65a9452b656524ad65ad65ab556b5569452b556f75ed65ad65ab65
6b552d656b556d65ad65ad5565b6b9d73954ef95e1b631a635d6b9e73bf77
df7bff7fff7f0000ff7fff7fff7fff7fff7fbd779c73324695525a6b5a6b9452314673
4ed75ad65a3a675a67d75ad65a396719635a6b1863b556d65a18635a6b7b
6f1863d65af85e5b6b7c6f196318635a6b5a6bf75e3963bd737c6b32465c6b
3c673c679f739e73ff7fff7fff7f0000ff7fff7fff7fff7fff7fde7b1863734e7b6f3967
5a67524a744ed656185f5b6b5a67744e5246944e95529c7339671042734e1
863734e7b6f3a67944e734e9452d6567c6f39677b6f5a679c73d5563967bd7
33a6719633a633c671b637e6fdf7bbe77ff7fff7f0000ff7fff7fff7fff7fff7fde7b73
4eb5565b6b39671863524ab552186318635a6795521963ff7fbd739c73f85e
f03d1863ff7f7b6fff7f3967534ad65a9c73ff7fde773a675a6b39677b6f9c7359
67d6567b6bdf7bf85ad75a3b671b637d6fbf77df7bff7fff7f0000ff7fff7fff7fff7f
be779c73ef3df75e39677b6fd75a945219633a679d733963944eff7b744e324

6ff7f185fd65aff7fde775a6bff7f5b6bd75aff7ff75af85edf7b3a673a679c73bc7
39c73dd77185f7b6fde771963534a1a633c6b3c6bbf77be77ff7fff7f0000ff7fff
7fff7fff7fff7f3967734a39675a6b7b6bd75a734e734eb656734ad75a7b6bdf7
7df7b7c6fff7bd75a95525b6bde7bff7f9c6fb556b556be77df7bdf7bff7f5b6b9
c6f5246ce35b556bd7318639c737c6fbe77b6563b673b675d6bbf77df7bff7fff
7f0000ff7fff7fff7fff7fff7f1863b5525b6b7b6b7c6f944ed65631424b29ae35de
77f85eb652f75ad656744e185f18633a67f75ad65a1863396739639552d75a
3963f75a5b6b52465246396394529b6f7b6f39677c6fbe77d75a5b6b5c6b1b
639e77be77ff7fff7f0000ff7fff7fff7fde7bff7ff85ed6565a6b5a6b3a6795528c2
d0100a510a51032467c6b944e534a954ef75a7b6b9d73f75e744ef75e18635
a679d733963744ed75a5a677c6f944e7b6b3963f75a7b6f5a6b39679c6f9d7
33a6719633b677e6f9e73df7bde7bff7f0000ff7fff7fff7fff7fff7fb556d6567b6f
39633a679552640c4b29b652a510a6149d73b6525a679c6f185f5a6794529
5525a6bbd7719635b6bd65695525a675b6b185f3967b5529d735b6b7b6b5
9679c7318639c739c7339671a633b673b67bf77be77ff7fff7f0000ff7fff7fff7ff
f7fff7f9552d65a5b6b9c7339679552c6146308850c8510534ad75a7c6fbd73
7b6bff7ff75a534a9c7339673146ff7f7b6f734a9c6fde779552ff7ff75ab65639
633a675a679c6fff7f7b6f9b73bd773a671a633b675d6b9e73df7bdf7fff7f000
0ff7fff7fff7fff7fff7fb656d75a7b6f5a67f75a95523963944e32467b6b7c6b955
2ff7b5b6b7b6bde779d73d65aff7f7b6fd65aff7f5a6b1863ff7f7b6b5246ff7f5a
6bb552944eb656f85e185fbd7339679c73bc735a6b19631b675d6f9e73be77
ff7fff7f0000ff7fff7fff7fff7fff7fb656f75e5b6b7c6fb656d656bd735a673a639d
6f5b671963be77df7bde779c731863f75a18637b6bbd771963d75a39637b6f
ff7f7b6bde7b5a673a675b67b552b652396739631863bc73bd773a673b6b1a
637e6f7e73df7bff7fff7f0000ff7fff7fff7fff7fff7fd65ad75a7b6b5b6bd75a744ec
f39c7144b258c2d195f7b6bd75ad656f75af85e5a6b5a6b39679452b556d65
a9c737b6f1863d6561963f75a9d73f75af0391142d756185f9c6f39679b6fbc7
35a6b3a671b673c6b9f77bf77ff7fff7f0000ff7fff7fff7fff7fff7fd65af85e7c6fbd7
39552f03d640c113ef03921002a21df7b3963734af75ad65a5a6b5a6bd65af7
5e1863396739677b6ff75ed6563967f75abd7311423963ff7f9d73f85a7c6fdd
77f75ede7b7c6f5b6b3c6b3d6b9f73df7bff7bff7f0000ff7fff7fff7fff7fdf7bb556
d75a9c731963b552103ec7182a25e8188d2d195f185f734abd77ff7f1863396
794523967be7b9d775a6b5a6bd65ab556bd779c7339675a675a67954ed75
63a673a63df7bbd77d65abd779d735b6b5c6b3c6b9f73be77ff7fff7f0000ff7ff
f7fff7fff7fff7fb656f85e9c73d75ab552195f3a63d6567b6bdf775b6bf75ade77
f85e5246ff7f5a6b9452de7bf75eef3dff7f9c73b556bd77f75eef3dff7ff85e9c6f
7c6bf85a5b6bbe779c73de771863bd777c6f5c6b1b675e6f7e73df7bff7fff7f0
000ff7fff7fff7fff7fff7fd65ad65abd73d75a744ef85e185f32468d31b6569c6f1
85fff7fbd737b6fff7f7c6ff75ebd77bd739c73de7739631863ff7fbd777b6fff7f9
c6f3a67734a1142524a1863ff7bde7b5a6b7c6f7c6f5b6b3b675d6b9f77bf77ff
7fff7f0000ff7fff7fff7fff7fff7fb65618637b6f185ff85e3142c618a510081d0100
ef399c737b6f9c73bd73f85ef75e1863f75ef75e3967f85e19633967f75e9d73
de7b7b6f5b6b534a524af75ad65ab5563967ff7f5b6b9d737c6f5c6b3b675d6f
9e73df7bff7fff7f0000ff7fff7fff7fff7fde7bb55618637b6bd65a185fef3901000
81d4b296308f03dbe77f75e744ed65af85e9d73bd7739679552f75e39679d7
3bd773967b556f75ef75e9c73d75a18637c6f9c7318639c73de7b7b6f7c6f9d
733b6b3b675c6b9e73be77ff7fff7f0000ff7fff7fff7fff7fff7fb55618637c6f185ff
75a534a103eae315246b652bd733a67d75ab5521863f75a5a6b1863f75e7b
6f9c73f75a18639c73d656f85e5a6bf85e7b6f9c735a6b3a6718639c73bd77ff
7b5b6b9c739d735c6b3b677d6f9e73df7bff7bff7f0000ff7fff7fff7fff7fff7fd65a

d65a9c73f75af75ad75aff7f9d73bd73ff7b7b6bb6565a6b7c6fde77bd775a67
b5565a6b396739679c731863b5569c6fde7b9c6f7b6f5a677c6fbd733a677c6
f3967ff7fde7b7b6f7b6b9d735b6b3b675c6b9f73bf77ff7fff7f0000ff7fff7fff7fd
e7bff7fd65af75e7b6f5a67f75ab552ef39c718a5108c2d19635b6b9d735a6b9
552ff7f5a6bf75eff7bd656ce39ff7f7c6ff75eff7f1863f03dff7f5a6bd65ace3973
4eb552d65a9c73ff7b7b6f7b6f9d735c6b3b675d6f9e73df7bff7bff7f0000ff7ff
f7fff7fff7fff7bd65af75e7b6f185ff75a31424208ce35534a0000e81cbd73df7b
bd737c6fbd773963b5527c6fde77bd737c6fd656f75a9d739c6f185fde777b6f
ef3d18639d73bd7318639c73de777b6f5a6bbd775b6b3b675c6b9e73be77ff
7fff7f0000ff7fff7fff7fff7fff7fb55618637b6f3967f75a1142c7184b296b296c2d
d75a5b6b5b6bdf7bbe775a6bf85e39639d737b6b9c739d733a677c6f5a67bd
73ff7f3a6718637c6f5b6b5a6b5a6b1863bd77de7b7a6b5b6b9d735c6b3b67
7d6f9e73df7bdf7bff7f0000ff7fff7fff7fff7fff7fd75ad75a9c73185f9552f85ebd7
3f75ade77ff7fbd739c73185ff03def3dd75aff7fbe77f75aad316c2d9552ff7fde
77185f3142f03df85eff7f9d73de7b5b6b5b6b9b6fdd77de779c733a67bd775c
6b3b675c6b9e73df7bff7fff7f0000ff7fff7fff7fff7fff7fb556f75e5a6b185fd75af
85ef75acf396b2931427c6b1963e718a614e7182100f85e39630000840c081
d2100b5527b6b640c840ca614a5145a6b7c6f744e9452734e3963de7bde77
7b6f39639d737c6f3b675d6f9e73df7bff7fff7f0000ff7fff7fff7fff7fff7fb556186
35a6bf85ef75a114221006c2d4b290100113ed75a0100420421000000534a
955201008510a5100000744eb55201002204c7180000d65a734eb5561963
7b6bd65a7b6fde7b9c731863be775c6b3b675c6b9e73be77ff7fff7f0000ff7fff
7fff7fff7fff7fd65a39675a6bf85eb552944e220429214a25c61432467c6f1142
ad31534a19639d73bd73ff7f7b6b7b6bff7fde77bd739c6f744e103e95527c6f
5a6b39675a6bbd7718639b6fbd777b6ff75ebd777c6f3b677d6f9e73df7bdf7
bff7f0000ff7fff7fff7fff7fff7ff75ef75e5a6bf75ad656d6563963b6525b67ff7fde
77bd73df7b185fd75a9d73df7bbe775b6b744e95521963ff7fbe779c6f19631
85fff7fff7f7c6fde7bbe779c73bd77bd77de7bbd77f85edf7b5c6b3b675c6b9e
73be77ff7fff7f0000ff7fff7fff7fff7fff7ff75ef75e5a67f75eb65618639d73d75a7
34ab656df777c6f0921081de81cc7185a673a678510e81c2a25a614185f9c6f
081dc614c71808217c6fff7bd75a944e10427b6fff7fdd777b6f18639d737c6f1
a677d6f9e73df7bff7bff7f0000ff7fff7fff7fff7fff7ff75e185f3a67f75ab656b552
e718a510c6140000534a944e0100f03d114200005246944e01008c2dae310
0005246534a0100ef3931420000734a94520100630ca514c7185967ff7fbd7
73967bd775b6b3b675c6b9e73be77ff7fff7f0000ff7fff7fff7fff7fff7fd65a39671
863f75af75e5246000009218d2d2100f0397c6f4a254a256c2952465b6bbe7
7d75af03d3246185fbd73bd73f0398d316c2dad319c73104201000921ce352
100b556ff7fbc735a6b9d735c6b3b677d6f9e73df7bff7bff7f0000ff7fff7fff7fff7
fff7fd65a18631863f75ed656d65a734a5246944e7b6b195fbe77be77f85e9c
6fbe779c6f9d737c6f3a637b6b9d6fde775a67ff7b5a679c6fde779d73bd73df
7bf75ab656b65a9c73be77de7b18639d735c6b3b675c6b9e73be77ff7fff7f00
00ff7fff7fff7fff7fff7fd65a59671863d65ab552f75a5a673963954e195fdf777c
6fad316c2da6148d317b6b7b6b6c2d850c840c4a253a63ff7fad31c714c614a
d31be73ff7f3963534a5b6bde7bdf7bde7bbd777c6f7c6f9d733b675d6b9e73
df7bff7fff7f0000ff7fff7fff7fff7fff7fd65a19631863f85eb656185ff0394304850
8850cd756944e63086408e81c00005246744e840cef39d656c71452463242
0100ae31ce356308734af85ea614640c01004a29de7bdf7b9c739d737c6f7c
6f5c6b3b67bf77be77ff7fff7f0000ff7fff7fff7fff7fff7fd75a3a67f85ef85eb6565
246c614f0398d2da60c8d2d5b6b4b29cf39ef39f03dd7565b67113eae35ef39
53463a633a63cf395346744e31425a67f03d63088d31ad35e71c7452ff7fff7f

5b6b9d737d6f1a637d6f9e73de7bff7bff7f00005609000026060f00a212574d
464301000000000001000000000000000200000080120000000000008032
0000ff7fff7fff7fff7fff7ff75e3963f85ed75ad75ab552cf35ad31314273465a67
9c6f3a633a635b67df779d737c6f5c6b7c6b9d6fff7b9d73be739d6fb756944e
1963ff7bbe7739633246324694525b6fde7bdf7b3a679d735c6b3b6b3c6b9e
73be77ff7fff7f0000ff7fff7fff7fff7fff7fd75a3a67d75ab656d65a18635a673863
f6567a6b9b6fbd73744aae316c29113e7c6fff7bf03d0921a610ae35df77be77
9d6fbe739c6fbd73d656103eb656bd77df7bbd77df7bbd77de7b5b6b9d737d
6f1a637d6f9e73df7bff7fff7f0000ff7fff7fff7fff7fff7ff75e3967f75eb556f65af65
ad456ed39cb312e3eba6fd656a610a610081d6308744a955264088d31cf35
4308ae35df7b9d735b6bff7bf75a734aff7b5a6bd65aff7f7c6fbd77bd77bd777
c6f9d735c6b3b673c67bf77be77ff7fff7f0000ff7fff7fff7fff7fff7fd75a3967f75a
175fd556934e714aba73ba73ba6fb352175b8d2df0395346103ed75639636b
29f03d52463246b656be779d73df7b9c73d6567b6b7c6f7b6b39675a67bd77
de7bdf7bde7b7c6f9d737d6f3b677d6f9e73df7bff7bff7f0000ff7fff7fff7fff7fff7
ff75e1963f75ef65ab452b452376337635763576379677b677b6bd7565a67b
d73bd737b6bff7fff7fbd77ff7fdf7b9c731963734e524ab552f75e94525a6719
6332463146f75e9c73ff7f7b6f7c737d6f3b673c6bbf77be77ff7fff7f0000ff7fff
7fff7fff7fff7ff75e3a67d75ab656d65af65a7a6bdd777a6bbc6fbc73bd737b6b
d756734ad756de77ff7bb6564b294a29734ede779c6fce3918635a6b5b6b73
4e185f5a67744e95525b6bd65a3967ff7f5b6b9d737c6f3b677d6f7d6fdf7bff7
bff7f0000ff7fff7fff7fff7fdf7bf85e3963f85eb656d7563b67195f8d2d2a21cf31
9d6f5a67e718010063086308744e396763082a25ef390000734e7b6ff75eff7
f39677a6b724a9552f75a534a19639c7318635a6bff7f5b6bbe775c6b3b675d
6bbf77be77ff7fff7f0000ff7fff7fff7fff7fff7ff85e3a67d75ad85ab756f85aaf311
23e1a5f764e754ab656103e944e3142ce355246185fc6144a292925841052
4afe7b39675a675a6b7a6b5246524a185fb656b65618633967de7bde7b7c7
37c6f7d6f1a635c6bbf77df7bff7fff7f0000ff7fff7fff7fff7fff7f18631963d75ad7
56d85a754ef13d7d6b3b6397525c673b67b652ce35113ed75a9d73ff7bde77
944e944eff7fbd779c737b6b7b6b7b6f944ed556d65af75eb65639675a6bbd7
7de7bdf7b7c6f7c6f7c6f3b673c6b9e73be77ff7fff7f0000ff7fff7fff7fff7fff7ff85
e3963d65af75ad6563a633b635c6b1a5f7d6f7d6b9d6fff7fbd73bd73ff7bdf77
7b6bde77ff7bde77be779d73ff7b9d73de7bbd773967b5565a6b186318637b
6fbd77bd77bd77de7b5b6b9d739e733b677d6f9e73df7bff7bff7f0000ff7fff7ff
f7fff7fff7ff75e1863f75eb452b452185fbd739c6fde77de73ff7bdf7bbe73ff7fdf
7b9d739d73de779c6fde779d739c6f9d739c6fbd77be77de7b7b6b38635a67
175f9c6fde7b9c73bd77bd77be773a679d735c6b1a635c6b9e77be77ff7fff7f
0000ff7fff7fff7fff7fff7ff75e1863f65ef75af75abd77bd735a67f75ad652ef39ae
314b292a252a21091d091da614c714a614a510c718c614c718e718e718185
fff7fbd73bd73de77ff7f9c739c73df7bff7fdf7bbd733a675b6b3b677e6f9e73df
7bff7bff7f0000ff7fff7fff7fff7fde7bf85ef75e5b6bef39f0396c29e814a610850c
43044304850c43042204640843046408c714a5104308a6104304c718a610c
61422006408ce315a63ff7b9d6fd6562921a5104c29113e53463963be733b6
71b673c6b9e73be77ff7fff7f0000ff7fff7fff7fff7fff7f1863196319638610850c6
4086508430023004404c714c714850ce714c714e718c714a610c714291d09
1de718a610e818a610091da610850ce818c610420483082000850ce8188e2
d6d29b6527b6b3b671b635d6f9f73df7bff7bff7f0000ff7fff7fff7fff7fff7ff75ef8
5e1963a610c714c7148d2d964ed756d752cf35a610b6527c6bff7f9d6ff0390
100d756df77ff7fdf776c29a6107b67be73be737c67e818091db652944ed656
53462a21af318d2dd756bd733b673b673c679e73be77ff7fff7f0000ff7fff7fff7

fff7fff7fd65a19631963c714c714430453469d6b5a63195ff039a6103242d75
65446744aae31850c3242b652b6525446ae310a1d3242d756d756954e2b2
12a21d7565963bc6f5c678d2d8e2d6c29185bbd733b673b675d6f9e73df7bd
f7bff7f0000ff7fff7fff7fff7fff7f18631963185f850ce8186c294b21e8184a21a5
100921e9182b250a1d2b21a7104c250a1d4c252c254c25e9188e2dea182b2
5e9180a210a1de918091d4b2529214b256c290a1daf318d2d185bbe733a63
3b675c6b9e73be7bff7fff7f0000ff7fff7fff7fff7fff7ff85e39671963a510e8184b
25e818a510e718840cc614c610c714a6106508c714a710a710860ca610a61
0a610a610c714c714c714a610c714091d091dc718081d840c2a212b21d035
6c29d756bd735b673b675d6f9e73df7bff7bff7f0000ff7fff7fff7fff7fdf7f1863f8
5e3a67e718850ca610a610c610c510c614071dc614e718e7182821081d292
1e6142921081d4925e718281d071d4925081d081d2921e818e718e718e71
8081de714091daf318d2dd656bd733b673b675c6b9e73be77ff7fff7f0000ff7f
ff7fff7fff7fff7f396719631863c718a610e818b44eb552b44ed556b452924e71
4a165bf55af556165f165bf55ad456165f165b165f165f7146375ff65ad556f75
a175ff65ad4523863ef39c714ae2d8d2df75a9d6f3b671b677e737e73df7bdf7
bff7f0000ff7fff7fff7fff7fff7f3967f85e3a67a510c614c614f656734a934e714a
914a714a914a704a914a714a914a704a914a714a914a704a914a714a914a
704a914a714a924e5146724a924e586731426408cf318d2db552df775c6b3
b675c6b9e73be77ff7fff7f0000ff7fff7fff7fff7fff7f396719633a67c614a510e71
8b552724a724a924e714a914e914a914a714a914e914a914a714a914e914
a914a714a914e914a914a714a924e7046b352714a914a57630f3e840cae31
8d2df656de777c6b3b677e6f9e73df7bff7fff7f0000ff7fff7fff7fff7fff7f3967f86
25b6ba510a510e614b552724a924a714a714a714a724a714a924e714a724
a714a924e714a724a714a924e714a724a714a924e704a914e714a914e6f4a
155f0f3ea5108d2d8d2dd656df775b673c675d6f9f73bf77ff7fff7f0000ff7fff7ff
f7fff7fff7f3a6719635b6bc6148510081db44e934e724a924e714a924e724a9
24e724a924e724a924e724a924e724a924e724a924e724a924e714a914e9
14e914a914e914e155f5142840ccf358c2dd656df777d6f3c677e6f9f77df7bff
7fff7f0000ff7fff7fff7fff7fff7f5a6bf85e7c6fc714a510c714934a714a714a714a
914e714a914e714a914a714a914e714a914a714a914e714a914a714a914e
714a914a914e704a914e704a704a58670f3e840ccf358d2db552df775c6b3c
6b5d6fbf77bf7bff7fff7f0000ff7fff7fff7fff7fff7f5b6b19637c6fe818850ce7189
34a934e714a914e704a914e714a914e714a924e714a914e714a924e714a9
14e714a924e714a914e714a914e714a924e714a914e376330426408ae318
d2df75adf777d6b3c677e739f77df7fff7fff7f0000ff7fff7fff7fff7fff7f5b6ff85e9d
73c7188510e718b452724a924e704a914e714a914a714a924e714a914a71
4a924e714a914a714a924e714a914a714a924e7046924e514a924e704a16
5f1042640c8e2d8e2dd656ff7b5c6b3c6b7e6fbf77df7bff7fff7f0000ff7fff7fff7f
ff7fff7f5b6b19639d73e81c850ce718944e934e924e714a914e924e714a924
e714a924e714a924e714a924e714a924e714a924e714a924e714a924e714a
924e724e914e175f103e850cf0398d2dd656df777d6f3c677e73bf77df7bff7ff
f7f0000ff7fff7fff7fff7fdf7f7c73d75adf7be91ca510a510934e724a924e704a7
14a714a724e714a724e714a724e714a724e714a724e714a724e714a724e7
14a724e714a924e714a924e714a3763ef396408d0358d2dd656df7b5c6b3c
6b7e6fbf77df7bff7fff7f0000ff7fff7fff7fff7fff7f7c73f85edf7b2a258510c61473
4a934e714a914e714a924e714a924e714a924e714a924e714a924e714a92
4e714a924e714a924e714a924e714e924e714e914e3763ef396408af358d2
df85eff7b5c6f3c679f73bf77ff7fff7fff7f0000ff7fff7fff7fff7fdf7f9d73f85eff7f4a
258510a510724a714a714a714a914e714a914a714a914e714a914a714a91

4e714a914a714a914e714a914a714a914e714a714e714a924e704a3763ce3
5840c8d2d8d2df75aff7f3b673c677e73bf77df7bff7fff7f0000ff7fff7fff7fff7fff7
f9c731863ff7f8c2d840ca5105146724a714a914e714a914e714a924e714a9
14e714a924e714a914e714a924e714a914e714a924e714a924e714e924e9
14a914a3763ce35840ccf358d2d185fff7b5c6b3c6b9f739e73ff7fff7fff7f0000
ff7fff7fff7fff7fff7f9d77f75edf7bad31640c840c3042724a924e714a914e714a
914e704a914a714a914e704a914a714a914e704a914a714a914e704a914a
714a924e714a914a704a5763ac2da510ae318d2df75ede7b5b6b5c6b7d6f9e
77df7bff7fff7f0000ff7fff7fff7fff7fff7f9c77f85ede7bef396308a510103e934a9
24a924e714a924e714a914e714a924e714a914e714a924e714a914e714a9
24e714a914e714a924e714a924e714a914a5763ac2da510ae316c2d5a67de
777c6f3b679e73be77ff7fff7fff7f0000ff7fff7fff7fff7fff7fbd77f75edf7bf03d630
8840c103e724a924a714a914a714a914a714a924e714a914a714a924e714a
914a714a924e714a914a714a924e714a724a714a924a714a58636b29a510
8d2d8d2d9c6fde773b673b6b7e73bf77df7bff7fff7f0000ff7fff7fff7fff7fff7fbd7
71963df7b31426308a510103a934a724a924e724a924e724a924e724a924e
724a924e724a924e724a924e724a924e724a924e724a934e724a934e724a
924e58636b29850caf318d2dde77bd735b6b5c6b9f77bf77ff7fff7fff7f0000ff7
fff7fff7fff7fff7fbd77f75ede7b53462200a6108d2d313ece3549250f3ead31ac
318b296a298b2dce35ef39cd35cd35ad31ad310f3ecd35ce35ce35ef39ce35c
e35ef390f3a3042ee39081dc7144c29f139bd739c6f3b675c6f7e73bf7bdf7bff
7fff7f0000ff7fff7fff7fff7fff7fde7b1967be73d75a4304c714c714e718e7184a2
5c614091de718e718e7182921c614850cc714e718c614081da510c714e718
c614a510c714e718e718a510c510e614e8180a1d4c29f039df7b9d737d6f5c
6b9e77df7bff7fff7fff7f0000ff7fff7fff7fff7fff7fde7bf8627c6b19636408e818e8
18c714840cc714850cc614a6102a21c610c714a610091d091dc610e818e81
8e7140819e818c714091de818e818c7142921081d0819e8180a216d29324
2de777c6f7c6f9e739e73bf7bdf7fff7fff7f0000ff7fff7fff7fff7fff7fde7b5a6b5b6
bbe778508c714a610e918c714c714e818c610ae2d7446e8186c298d2d8d2d
091d4b25ae318d2d8d2d8d2d6d29ae318d2d6c292a210919e818081d291d
4b210a1d4c255346ff7f7c6fbe77be77bf7bdf7fff7fff7fff7f0000ff7fff7fff7fff7fff
7fff7f5b6b3963be73c714c714e818a610091dc714850ca50ca610c714850ca
710c7146408c714a60ce818a60ce814a610a610e818c714e814c714e81809
19291d081d0a1d2b212b21744ade779b6fbd77df7bbf7bff7fff7fff7fff7f0000ff
7fff7fff7fff7fff7fff7f9d733963be77e81864080919a610c710e718e71853466c
29544652422a214b2532423242ae314b25ae31ae316c292a218d2dcf31f03
5f035f039091d291d291d2b21e814e818954efe7b9c73de7bff7fff7fff7fff7fff7
fff7f0000ff7fff7fff7fff7fde7bff7fff7fde77de778c294304850c640443044304e
714ef35091dce31103a6c298c2dce318d2d2a212a218d2d4a25e818081d2a
216c292a212b21e814850ca510a50cc714e8144b25195fff7fff7fff7fff7fff7fff7
fff7fff7fff7f0000ff7fff7fff7fff7fff7fff7fff7fbd77ff7fbd73ff7bbd6f7c6b7b67f756
954e5246cf358d2d6c296b296c292a2129216c292a214b258c296c298d2dcf
35f0393342964ef8563a639c6b5a67df77ff7bbe73ff7ffe7bfe7bff7fff7fff7fff7ff
f7fff7fff7f00004c00000064000000000000000000000032000000590000000
000000000000000330000005a0000002900aa00000000000000000000008
03f00000000000000000000803f0000000000000000000000000000000000
000000000000000000000000000000220000000c000000ffffffff460000001c
00000010000000454d462b024000000c000000000000000e000000140000
000000000010000000140000000400000003010800050000000b02000000
00050000000c025a003300030000001e0004000000070104000400000007

0104008d1b0000410b2000cc005a003300000000005a0033000000000028
000000330000005a0000000100180000000000d836000000000000000000
000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
fffffffffff7f7fff7f7fff7effff7f7f7f7effff7f7f7efeffff7eff7efeffff7f7f7efeffff7efffefe
ffff7f7f7efeffff7efffefeffff7f7ffefeffff7f7ffefeffff7f7ffefeffff7f7fff7f7fff7fffff7f7ff
ffffffffffffffffffffffffffffffffffffffffffffffffffffffffff000000ffffffffffffffffffffffffffffffffffffffff
fffffffffffffffffffffffffffffffffffffffff7f7fff7f7f7efeff7efe7f7e7e7f7efe7f7e7e7f7e7e
7efe7e7f7efe7f7e7e7f7e7e7efe7e7f7e7e7f7e7e7f7e7e7efe7e7f7e7e7f7e7e
7ffe7e7f7e7e7ffe7eff7e7e7ffefeff7e7e7ffefeff7efeffff7f7fff7f7fffffffffffffffffffff
fffffffffffffffffffffffffffffffff000000fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7
f7fff7f7f7efefffefefe7dedef7e7e7efdedeefdedee7d6d6efd6d6e7ced6efd6d6
e7d6d6efd6d6e7d6d6efd6deefd6d6efd6deefd6d6f7dedeefd6d6efd6deefced
6efd6dee7ceceefd6d6efdedeefdedee7d6d6f7e7e7f7e7e7ffeff7f7e7e7fffffffff
ffffffffff7ffffffffffffffffffffffffffff000000fffffffffffffffffffffffffffffffffffffffffffffffffffffffff
7f7fff7f7efe7e7f7e7e7efdedeefdededec6c6e7d6d6dec6cee7cecee7c6cee7c
ecee7ceceefced6e7cecee7cecee7c6cee7cecee7c6c6e7cecee7c6cee7cecee
7c6ceefced6e7c6cee7ced6d6c6c6dececee7d6d6efdededececef7dee7f7e7e
7ffeff7ffefeffff7f7fffffffffffff7ffffffffffffffffffffff000000fffffffffffffffffffffffffffffffffffff
ffffffffffffff7f7f7efeff7e7e7f7e7e7e7d6d6ded6d6dececedececed6bdc6debdc
6debdc6e7c6cedec6c6dec6c6debdbddebdbddebdbddebdc6debdbddec6c6d
ebdbde7c6c6debdc6e7c6c6d6bdbddebdc6d6bdc6decececebdbddececec6b
5b5e7d6d6efd6d6dec6c6ffe7e7ffefeff7efeffffff7ffffffffffffffffffffffffffffff000000
fffffffffffffffffffffffffffffffffffffffffffff7ffffffffefe7e7efe7e7d6cececec6c6c6bdbdb5
a5a5a59494b5a5a5ad9c9cb5a5a5ad9c9cad949ca58c8c9c8c8c947b84947b
7b8c7b7b948484948484a58c8ca58c8cad9494ad9494b5a5a5b59ca5bda5a
5b5a5a5d6c6c6cebdc6e7d6d6d6c6c6cebdbdf7dededececeefdedef7efe7fff7
f7ffffffffffffffffffffffffffffff000000fffffffffffffffffffffffffffffffffffffff7fff7efeff7efefefe
7e7ded6d6ada5a59c94948c7b7b7b73737b7373847b848484847b7b7b848
4848c8c8c9494949c9494a59c9c9c9c9ca59c9c9c9c9c9c9c9c9c94949c9494
948c8c9c9494948484948484847b7b6b63639c9494ada5a5b5a5a5d6c6c6d
6c6bde7cecedec6c6efd6d6efdedef7efeff7efefffffffffffffffffffffffff000000ffffffff
fffffffffffffffffffffffffffffffffffff7f7efefefcecec68c8484736b6b847b7b9c9494a59
c9c847b7b7b84846b73736b7373636b6b636b6b636363636b6b636363636
b6b636b63636b6b6363636b6b6b636363636b6b636363736b6b6b6b6b7b7
3737373737b7b737b7b737b7373b5a5a5dec6c6ceb5b5efd6d6e7cecef7ded
ef7e7e7fff7efffffffffffffffffffffffff000000fffffffffffffffffffffffffffffffffffff7f7f7fff7f7c
6c6c69494948c8c8cb5b5adada5a5948c8c736b6b7b737373737373737b73
73737b7b7b73737b7b7b7b7b737b7b7b7b7373737b7b7b7373737b737b73
73737b73737373737b73737b7b7b7b7b736b736b7b847b6b73736b6b6bbd
bdb5b5adada5948cefceced6bdbddec6c6dec6c6ffe7e7f7efe7fff7f7ffffffffffffff
ffff000000fffffffffffffffffffffffffffffffffffff7f7f7e7e7e7949494848484efe7e7b5ad
adada5a594949494948c8484849494948c8c8c948c8c948c8c948c948c8c8c
949494948c8c949494948c8c949494948c8c949494948c8c9494949494949
49494949494949c9c8c948ca5ada58c9494bdb5b5efe7e7c6b5b5a58c8cffe7
e7e7ceceefd6d6efd6d6f7efe7fff7f7ffffffffffffffffff000000fffffffffffffffffffffffffffff
ffffffff7f7f7a5a5a5848484ded6d6cecec6adadad9c9c9c948c8c8c8c8c9c9c9c
a59c9cb5adadadadadb5adb5a5a5a5b5adad949494b5b5b5b5b5b5adadada
dadada5a5a5adadadbdbdbdb5b5b5b5b5b5b5adadadada5b5b5adadadadb5
b5b5b5b5b5adb5added6d6efe7e7ada59ccebdbddec6c6d6c6c6efd6d6f7e7e
7ffefeffff7f7ffffffffffff000000ffffffffffffffffffffffffffffffefefefe7e7e7948c8cada5a

5d6d6d6d6d6d6a5a5a58c8c8c9c9c9cbdb5b5b5b5b5d6ceced6d6cebdb5b5
b5b5b5cecececec6c6d6d6d6c6c6c6adadadb5b5b5c6c6c6d6d6d6dededec6
c6c6b5b5b5c6bdbdded6d6e7dedecec6c6c6c6c6d6d6d6d6d6d6bdbdbdcece
c6efefe7e7ded6948c8ce7d6d6e7cecee7ceceffe7e7f7e7e7ffffffffffffffffff0000
00fffffffffffffffffffffffffffffff7f7f7c6c6c69c9c9cdededecececed6d6ce949494a5
9c9cb5b5adc6c6bdded6d6d6d6cea59c9c94948ca5a59cada5a5e7e7e7cece
ce8484849c9c9cc6c6c69c9c9cdededed6cecea5a59c9c9c9ca5a5a5b5b5ade
7dedecececedededed6d6cee7e7e7adb5adcececeefefe7d6cececec6c6d6cec
6e7cecedec6c6f7dedefff7f7f7efefffffffffffff000000fffffffffffffffffffffffffffffff7f7f
79c9c9cadadadded6d6cececec6c6c6949494adada5c6c6c6c6c6c6d6d6cead
a5a5cec6c6ffffffefefe7e7e7e7c6bdbd847b7bc6c6c6ffffffdededeffffffcecece9
c9494b5b5b5e7e7e7fffffff7f7efd6ceced6d6d6cececedededee7e7e7ced6ceb
5b5addeded6fff7f7c6bdb5bdb5b5dececedec6c6efdedeffefeffff7f7ffffffffffff0
00000fffffffffffffffffffffffff7efefe7e7e77b7b7bbdbdbdcececedededebdb5b5a5
a5a5cec6c6d6ceceefe7e7cecec6a5a59cfffff7a59c9c948c8cffffffc6c6bdb5b5
b5fffffff7f7efd6d6d6ffffffded6d6bdb5b5ffffffbdbdb5c6bdbdfff7f7d6ceced6ce
cee7e7e7e7efe7e7e7e7eff7efc6c6bddededef7f7efcec6c69c9494d6c6c6e7c
ed6e7ced6ffefeff7efefffffffffffff000000ffffffffffffffffffffffffffffffcecece9c9c94ce
ceced6d6d6deded6bdb5b59c9c9c9c9c9cb5adad9c9c94bdb5b5deded6fff7e
ffff7f7e7dedefffff7bdb5b5ada5a5ded6d6f7f7f7ffffffe7e7deadadadadadadf7e
feffff7f7fff7f7ffffffded6d6e7e7de94948c73736badadadefefe7c6c6c6e7e7e7
e7dedef7efefb5adaddececedececeefd6d6ffefeffff7f7ffffffffffff000000fffffffffff
fffffffffffffffffffc6c6c6adada5ded6d6deded6e7dedea5a59cb5b5ad8c8c845a5
252736b6bf7f7efc6bdbdb5ada5bdbdb5b5b5ada59c9cc6c6bdc6c6c6d6cece
bdbdb5b5b5b5c6c6c6cececececec6ada5a5bdb5b5cecec6bdbdb5ded6d694
948c94948ccecec6a5a5a5dee7dedededecececee7dedef7efefbdb5b5ded6d
6e7d6d6dec6c6f7e7eff7efefffffffffffff000000fffffffffffffffffff7f7f7ffffffc6bdbdb
5b5add6d6d6d6d6d6d6ceceada5a563635a080000292921292921948c8ce7
ded6a5a59c9c9494ada59cbdbdb5deded6efe7e7bdbdbda59c9cbdbdbdc6c6
c6d6d6ceefe7e7cecec6a59c9cbdb5b5d6d6cee7dedea5a59cdeded6cecec6b
dbdb5dededed6d6d6cececee7e7deefe7e7d6cececec6c6dececef7dedef7e7
e7fff7f7f7f7f7ffffff000000ffffffffffffffffffffffffffffffadadadb5b5addededececec6
d6ceceada5a52118185a5252b5ada5292921312929efe7e7b5ada5d6d6cee
7e7dec6c6bdd6d6cea5a5a5ada5a5d6d6d6efefefcec6c6ded6d6b5b5adada5
a5d6d6ceded6d6c6c6bdcececeadada5efe7e7ded6d6deded6ced6cee7e7e7
c6c6c6e7e7e7e7e7e7cececed6c6c6dececedececeffefeff7efefffffffffffff00000
0ffffffffffffffffffffffffffffffada5a5b5b5b5ded6d6e7e7e7cececeada5a53131291
818102921182921219c9494bdb5b5e7dedeefefe7deded6ffffffbdbdb59c949
4e7e7e7cecece8c8c8cffffffdedede9c9c94e7e7def7f7efada5a5ffffffbdbdb5b
5adadcecec6d6ceced6d6cee7e7deffffffdedededee7e7efefefd6ceced6c6c6d
ececeefd6d6f7e7e7fff7f7fff7ffffffff000000ffffffffffffffffffffffffffffffb5adadbdb5
b5dededed6d6cebdbdb5ada5a5cecec6a5a59c948c8cdeded6e7ded6ada5a5
fffff7ded6d6deded6f7f7efefe7e7b5b5b5ffffffdededeb5b5b5ffffffd6d6d6c6c6
c6ffffffdeded694948cffffffd6d6d6adada5a5a59cb5adadc6bdbdc6c6bdefefe
7cececee7e7e7e7efe7d6d6d6cec6c6dec6ceefd6def7e7e7f7efefffffffffffff000
000ffffffffffffffffffffffffffffffb5adadbdbdbdded6d6e7dedeb5adadb5b5adefefe7
d6d6ced6cec6efe7deded6cecec6c6f7efeffff7f7f7f7efe7e7e7c6c6c6bdbdb5c
6c6c6deded6efefefcec6c6bdb5b5cecec6dededeffffffdeded6f7f7f7d6d6ced6
ceceded6ceadada5b5ada5cececececec6c6c6c6e7efe7efefefd6cecedeced6d
6c6c6f7dedef7dee7fff7f7ffffffffffff000000ffffffffffffffffffffffffffffffb5b5b5bdb5b

5deded6ded6d6bdb5b5a59c9c7b73733931295a524a63635acec6bddeded6
bdb5b5b5b5adbdbdb5c6bdbdd6d6d6d6d6d6cececea5a5a5adadadb5b5b5e
7e7e7dededec6c6c6b5b5adcec6c6bdbdb5efe7e7bdbdb5847b738c8484bdb
5adc6c6bde7e7decececedee7dee7efe7d6d6d6d6cecedec6cee7ced6ffe7efff
efefffffffffffff000000ffffffffffffffffffffffffffffffb5b5b5c6bdbde7dedeefefe7ada5a
5847b7b2118188c847b847b73080800524a42fff7f7cecec69c9c94bdbdb5b5
b5b5d6d6d6d6d6d6b5b5b5bdbdbdc6c6c6cecececececedededebdbdbdb5b5
adcececebdbdb5efefe78c8484cecec6ffffffefe7e7c6bdb5e7dedeeff7efbdbdb
df7f7f7e7dededed6d6e7ced6efced6ffe7e7fff7f7fffff7ffffff000000fffffffffffffffff
ffffffffff7f7adadadbdb5b5e7e7e7cec6c6adada584847b393131524a4a42393
16b635acec6bdc6c6bd9c9c94efefefffffffc6c6c6cececea5a5a5cececef7eff7e
fe7efd6d6d6d6d6d6b5b5b5adadadefefefe7e7e7cececed6d6ced6d6ceada59
cbdb5add6ceced6cec6fff7f7efefefb5b5b5efefefefe7e7ded6d6e7d6d6e7ced
6ffe7e7f7efefffffffffffff000000ffffffffffffffffffffffffffffffb5adadc6bdbde7e7e7bd
b5b5adada5cec6bdd6cec6b5b5addeded6fff7efded6d6bdbdb5f7f7efc6bdbd
94948cffffffd6d6d6a5a5a5f7f7f7bdbdbd7b7b7bffffffe7e7e7adadadefefefbdb
dbd7b7b7bffffffc6bdbde7e7dee7ded6c6bdb5ded6d6f7efefe7e7e7f7f7efc6c
6c6efefefe7dedee7d6d6dec6cef7d6def7dee7fff7f7ffffffffffff000000fffffffffffff
fffffffffffffffffb5b5b5b5b5b5efefe7bdb5b5a59c9cc6bdbdc6c6bd948c8c6b636
3b5adade7e7dec6c6bdffffffefefe7dededeffffffe7dedebdbdbdefefefefefe7e7
e7e7f7f7efcecec6c6c6c6ffffffefefefdededeffffffe7e7ded6cece9c9c948c8484
949494c6c6c6fffff7f7f7f7d6d6d6e7dedee7dededed6d6dececeefd6d6ffe7eff
fefefffffffffffff000000ffffffffffffffffffffffffffffffb5adadc6c6c6dededec6c6bdc6bd
bd8c8c843131312929214242390800007b7b73e7e7e7dededee7e7e7efefe7
c6bdbdbdbdbdc6c6c6bdbdbdbdbdbdcececec6bdbdcec6c6cececebdbdbdefe
7e7f7f7f7dedededed6d69c9494949494bdbdb5b5b5b5adadadcececeffffffde
d6d6efe7e7e7dedee7d6d6dececeefd6def7e7e7fff7f7ffffffffffff000000ffffffffff
fffffffffffffff7f7f7adadadc6c6c6deded6b5b5b5c6c6bd7b7b73080000424239
5a5252181810847b7bf7efefbdbdbda59c9cb5b5b5c6bdbdefe7e7efefefcece
ceada5a5bdbdbdcececeefe7e7efefefcececeadadadbdbdbdbdbdbde7e7e7b
db5b5c6c6c6e7dedee7e7e7c6c6c6e7e7e7f7f7f7dededee7dedeefe7e7dece
d6dececee7d6d6f7e7e7f7efefffffffffffff000000ffffffffffffffffffffffffffffffadadadc
6c6c6e7dedec6c6bdbdbdb59c949484847b736b6394948cb5ada5efefe7d6c
ecebdb5b5adada5c6c6c6bdbdb5d6d6d6c6c6c6bdbdbddededee7e7e7bdbd
b5c6c6c6e7e7e7b5b5adc6bdbdd6d6d6c6bdbddededee7e7e7d6d6d6d6cec
ec6c6c6e7e7e7efefeffffff7ded6d6e7e7e7efe7e7e7d6d6dececeefdedef7e7e
7fff7f7fffff7ffffff000000ffffffffffffffffffffffffffffffb5b5b5b5b5b5e7e7e7bdbdb5b
dbdb5bdb5b5ffffffefe7e7efefe7fffff7deded6b5adadd6d6d6e7dedef7f7efefef
efd6d6ceadadadd6d6d6cecececececee7e7e7c6c6c6adadade7e7def7f7f7e7
e7dedededed6d6cee7dedeefefe7d6cecee7dedecececefffffff7f7f7dedededed
ed6efe7e7ded6d6dececee7d6d6ffe7e7ffefefffffffffffff000000fffffffffffffffffff7f
7f7ffffffb5b5b5bdbdbddededed6d6cebdbdb5adada57b7b733931312929216
3635acec6c6ded6d6efe7e7d6d6d6ada5a5ffffffd6d6d6bdbdbdfffff7b5b5ad7
37373ffffffe7dedebdbdbdffffffc6c6c6847b7bffffffd6d6d6b5b5b57373739c9c
9cadada5b5b5b5e7e7e7fffff7dedededededeefe7e7e7d6d6dececeefd6def7e
7e7fff7f7fffff7ffffff000000fffffffffffffffffffffffffffff7b5b5b5bdbdbddededec6c6b
dbdbdb58c8c8410101073736b9c9494000000423939efefe7fff7f7efefe7e7d
edeefefefcecec6adada5e7dedef7f7efefefe7e7dedeb5b5adbdbdb5efe7e7e7
e7dec6c6bdf7f7efdedede7b7b7bc6c6c6efe7e7efefe7c6c6c6e7e7e7f7f7efde
deded6d6d6efefefded6d6dececee7d6d6f7e7e7f7efefffffffffffff000000ffffffffff

ffffffffffffffffffffadadadc6c6c6dededecececebdbdb58c84843931315a52525a
5a52635a5abdb5b5ded6d6ded6d6fff7f7f7efefd6d6d6c6bdbdcecec6efe7e7d
eded6e7e7e7efe7e7d6cecee7deded6d6ceefefe7ffffffd6cecec6c6c6e7deded
ed6d6d6d6d6d6d6d6c6c6c6efefeff7f7f7d6ded6ded6d6efe7e7e7d6d6decec
eefdedef7e7e7fff7f7fff7f7ffffff000000ffffffffffffffffffffffffffffffbdb5b5bdb5b5e7
e7e7c6c6bdada5a5c6bdbdefefe7bdbdb5f7f7efffffffefefe7e7e7e7c6c6bd847
b7b7b7b7bbdb5b5fffffff7efefbdbdb56b6b63635a5aada5a5fffffff7f7efc6c6bd
8c8c84847b7bc6bdbdffffffefe7e7f7f7f7ded6d6ded6d6dee7deeff7eff7f7efe7
e7e7d6ceceefefefe7d6d6dececee7d6d6f7e7e7fff7f7ffffffffffff000000fffffffffff
fffffffffffffffffffadadadbdbdbdd6d6d6c6c6bdbdb5b5c6bdbdbdbdb57b73735a
5a528c8c84e7ded6cec6c6393931312929393931080800c6bdbdcecec6000
000212118424239080800adada5deded6211818212118312929292929d6d
6d6e7dedea59c9ca5a5a59c9c9ccecec6f7f7f7f7f7efdededececec6efe7e7e7
dededececeefd6def7e7e7fff7f7ffffffffffff000000ffffffffffffffffffffffffffffffadadad
c6c6c6d6d6d6c6bdbdbdbdb58c8484080800635a5a5a52520800008c847bb
db5b50800001010080808000000009c9494ada5a50800002921212929210
00000a59c9cadada5080000100808393131000000b5b5b59c9c9cadadadce
c6c6deded6b5b5b5dededef7f7f7e7e7e7c6c6c6f7efefe7d6d6dececee7d6d6f
7e7e7f7efefffffffffffff000000ffffffffffffffffffffffffffffffb5b5b5cececed6d6d6c6bd
bdadada5a5a59c1008084a4a4252524a313129948c8ce7dede8c84846b6b6
39c9494cec6c6efe7e7efefe7ffffffdeded6deded6fffffff7f7efefefe7e7e7dea59
c9c84847bada5a5e7deded6d6d6cececed6d6d6efefefc6c6c6dee7deefefefd
ededebdbdbdefefefe7dededececeefdedef7e7e7fff7f7fff7f7ffffff000000ffffffff
ffffffffffffffffffffffbdbdbdbdbdbdd6d6d6bdbdb5b5b5adb5b5adcecec6b5ada5
ded6cefffffff7f7efefefe7fff7f7c6c6bdbdb5b5efe7e7fff7f7f7efefded6d6a59c9
cada5a5cec6c6fffffff7efefe7e7decec6c6c6c6bdffffffffffffe7dedef7f7f7f7efefe
7e7e7efefefefefeff7f7f7efefefc6bdbdfff7f7e7d6d6dececee7d6d6f7e7e7f7efe
fffffffffffff000000ffffffffffffffffffffffffffffffbdbdbdbdbdbdd6d6cebdbdbdb5adadc
6c6c6efe7e7bdb5b59c9c94b5adadfff7efe7dede4a42424242394239393931
31d6d6ced6cece292121423939524a4a312929c6c6bde7e7de42423931312
9393131424242e7dedefffff7bdb5b5a5a59c848484dededeffffffeff7efdedede
c6c6c6efe7e7e7deded6c6ceefdedef7e7e7fff7f7fffff7ffffff000000fffffffffffffffff
fffffffffffffbdbdbdc6c6bdd6cecebdbdb5b5adadadada5393931292921313129
0000009c9494a5a59c080000847b7b8c848400000094948ca5a59c0800006
3635a736b6300000094948c9c94940800007b7b738c8c840000009c9c94a5
a5a5080000181818292929393131ced6ceffffffefefefcececeefefefded6d6dec
ecee7d6d6f7e7e7f7efefffffffffffff000000ffffffffffffffffffffffffffffffb5b5b5cececec
6c6c6bdbdb5bdbdbd94948c0000004a42426b635a080800847b73e7dede52
524a52524a635a5294948cded6d6f7efefbdb5b5847b7b948c8cc6c6bdefefe
7efefe7847b736b6363635a5a6b6b63e7e7e78484840800004a424273736b
080800adadadffffffe7efe7d6d6d6efe7e7e7d6d6dececeefdedef7e7e7fff7f7ff
fff7ffffff000000ffffffffffffffffffffffffffffffb5b5b5c6c6c6c6c6c6bdbdbdb5b5adb5
b5b59c9c9494948ca5a59cdeded6cec6bdf7efeff7efefc6bdbde7e7def7efefe
7e7deefe7e7e7deded6cec6deded6efe7def7f7efd6d6cefffff7d6d6cee7e7def
7f7efefe7e7efefe7fff7f7bdbdb5b5adadb5adb5e7e7e7f7efeff7f7f7c6c6c6efe
7e7e7d6d6dececee7d6d6f7e7e7f7efefffffffffffff000000ffffffffffffffffffffffffffffff
b5b5b5ced6cec6c6c6b5b5b5adada5bdbdb5d6d6cececec6ada59ccec6bdfff
7efe7dede6b6b63635a5a3129296b6363deded6deded6635a5a2921182121
1852524ad6cec6ffffff6b6b633931293131296b6b63f7efe7ffffffcecec69c949
4ded6d6f7f7f7fff7f7f7f7f7efefefe7dedee7dedeefe7e7dececeefd6d6f7e7e7ff

f7f7ffffffffffff000000ffffffffffffffffffffffffffffffb5b5b5cec6c6c6c6c6c6bdbdb5ada
dc6c6bd847b73181008292110292118bdb5ada5a59c18181021181042393
900000094948ca59c9c2121187b7b73b5b5ad39312994948c948c84080000
736b6373736b1818109c9c94c6bdbd312929211818080000525252f7f7f7fff
7f7e7e7e7efe7e7e7dedee7dedee7d6d6dececeffefeff7efefffffffffffff000000fff
fffffffffffffffffffffffffffbdb5b5d6cecec6bdbdc6bdbdb5adad94948c313129847b
736b635a3129186b635aded6d65a52527b73737b7b73847b7bbdb5added6
ce8c847b736b6b7b7b739c948cd6cec6d6cec67b73739c948ca59c9c8c8c84
d6d6ce847b7b1818106b63636b6b6b393939a59ca5ffffffffffffded6d6efe7e7
efdeded6c6c6efdedef7e7e7f7f7f7fffff7ffffff000000ffffffffffffffffffffffffffffffbdb
dbdcecec6c6bdbdbdb5b5bdb5b5adada57b736b6b6b638c8c849c9c8cd6d6c
ee7e7ded6cec6d6cec6ded6cefff7efefe7e7e7dedee7d6d6e7ded6efe7defffff
7efe7e7f7efe7efe7debdadada5a59ccec6c6fffff7f7efefcecec6948c8c948c8c
a5a5a5ded6def7f7f7fff7f7d6ceceefe7e7e7d6d6deced6e7ced6f7e7e7f7efeff
fffffffffff000000ffffffffffffffffffffffffffffffbdb5b5d6cecebdb5b5b5adadb5b5b5c6
c6c6d6d6cec6cec6b5bdadd6ded6dee7deefefe7a59c94736b63635a528c84
7be7dedefffff7847b7b4a4242312921736b6bfff7eff7efefefe7def7efe7e7e7d
eefefe7b5b5ad84847bb5adadefefeffff7f7efefeffff7f7efefeff7f7f7ded6d6efe7
e7efdeded6c6c6efdedef7e7e7fff7f7ffffffffffff000000ffffffffffffffffffffffffffffffbd
bdbdcececebdbdbdadadadb5bdb5b5bdb5a5b5ad6b7b735a7363738c7bd6e
fdeb5b5ad312921312921424239181810a59c94ada5a52118106b63637b73
6b181010736b6bfff7f7efe7e7ded6d6fffff7bdbdb59c9c94fffff7d6d6d6b5b5b
5ffffffe7dedeefefefefefefefefefe7dedeefe7e7e7d6d6dececee7ceceffefeff7ef
efffffffffffff000000ffffffffffffffffffffffffffffffbdb5b5cececebdbdb5bdc6bdadb5ad
9ca59c8c9c94d6efe7d6efe7d6efde9cada5bdc6b56b635a847b739c948c848
47bbdb5adcecec65a5a52847b7b94948c948c8cb5adadf7efefefe7e7fff7f7e7
e7e7b5b5addeded6e7dedededed6cececed6d6ceefefeff7f7f7fff7f7f7f7f7e7d
edeefe7e7efdededececeefdedef7e7e7fff7f7fffff7ffffff000000fffffffffffffffffffffff
fffffffbdbdbdcec6c6bdbdbdb5bdb5a5ada5a5ada5bdcec6bdcec6bdd6c6bdd6
c6cedecededecededed6bdb5add6d6ceefefe7efefe7deded6ffffffffffffefefefffff
fffff7f7e7e7e7cec6c69c9c9c949494adada5bdbdbda5a5a5d6d6cecec6c694
8c8c8c8c8cbdbdbde7e7e7ffffffdededee7dee7efdededececee7ced6ffefeff7ef
efffffffffffff000000ffffffffffffffffffffffffffffffbdbdbdd6cecebdb5b5b5adadb5b5b5
b5bdb5d6ded6eff7efd6ded6e7efdee7efe7efefe7deded6bdb5ad9c9c94bdb5
adf7f7effffff7b5adad5a52525252529c9c9cf7f7efe7e7de737373c6c6c6d6d6
d6ded6d69c9c9cc6c6bdd6d6cea59c9cada5a5ded6d6b5b5b5cececeffffffded
6d6efe7e7e7dededececeefdedeefdedefff7f7fffff7ffffff000000ffffffffffffffffffffff
fffff7f7c6bdbdcecec6c6bdbdb5adadbdb5addecececec6bd6b635a524a427b
7363efe7ded6d6ce393931080000181810181810a59c9ccecece181810524a
4a7b7b730000009c9c9cdededebdbdbdffffffcececed6ded6949c94ada5a5bd
bdb59c9494cec6c6e7e7e7c6c6c6d6d6d6ffffffded6d6f7efefe7d6d6dececeef
d6d6ffefeff7efefffffffffffff000000ffffffffffffffffffffffffffffffc6bdbdd6cecebdb5b5c
6b5b5bdadadc6bdb57b6b6394847bd6c6bdb59c9cad9c94b5adad84847ba5
a59c8c8c8473736b94948cc6c6bd3131295252524a4a4a212121949494f7fff
7cececed6d6ced6d6d6d6ded694948c949494c6c6bdb5adadb5adadc6c6c6c
ececef7f7f7f7f7f7e7dee7e7dedeefdeded6c6c6e7d6d6ffefeffff7f7ffffffffffff00
0000ffffffffffffffffffffffffffffffc6c6c6cec6c6bdb5b5bdb5adc6b5b5ad9c9c8c7b7
befded6decec6bda5a5e7d6cedececeb5ada573736b8c847bbdb5b5efe7e7fff
ff7f7f7efa5a59ca5a59cffffffefefefe7e7e7deded6deded6dededea5a59cadb5
adb5b5b5bdbdbdb5adadcececed6d6d6efefeff7f7f7fff7f7e7dedee7dedee7d

ededececee7ced6f7e7e7f7efefffffffffffff000000ffffffffffffffffffffffffffffffc6bdbdc
ecec6b5b5b5bdbdb5b5b5add6cec6decec6e7d6d6d6c6bdefdedeefded6efe7
deffffffefefe7efefe7fffff7fff7efdeded6f7f7effffff7f7f7eff7efefefe7e7fffff7efe7
e7f7f7f7efefefcececeadadadd6d6d6c6c6c6c6c6c6dededeefefefefefefefefeff
7f7f7ded6d6efe7e7f7e7e7dececeefdedef7e7e7fff7f7fffff7ffffff000000ffffffffff
ffffffffffffffffffffbdbdbdc6c6c6bdbdbda5ada5a5ada5c6c6bdefefe7e7e7def7f7
eff7f7e7fffff7fff7f7f7efe7fffffffff7f7efe7e7efe7e7f7f7efe7e7def7f7efefe7e7e
7e7deefe7e7e7e7deefefeff7efeff7f7f7deded6c6cec6d6d6cebdc6bde7e7def
7f7f7e7e7e7efefefefefeff7efefd6ceceefe7e7e7d6d6d6c6c6e7d6d6f7e7eff7e
fefffffffffffff000000ffffffffffffffffffffffffffffffbdbdbdc6c6c6b5bdbdbdbdb5bdbdb
5efefefefefe7d6d6cebdbdb5b5b5a57b7b73736b635a5252524a4a524a424a
42394a423931292939312931292929292139313131312939313139393139
3931c6c6bdffffffefefe7efefe7f7f7efffffffe7e7e7e7e7e7fff7f7fffffffff7f7efefe7
d6ceceded6d6dececef7dedef7e7e7fff7f7fffff7ffffff000000fffffffffffffffffffffffff7
f7f7c6bdbdbdbdbdded6d67b7b73847b73635a52423929312921292118181
008181008292118181008100808211810181008211810393129292921181
010312921181008393131312921313129100800211810737363d6d6c6fffff
7efe7deb5b5ad4a4a422929216352528c847b9c948ccecec6f7efe7dececede
c6cee7ced6f7e7e7f7efefffffffffffff000000ffffffffffffffffffffffffffffffc6c6c6cec6c6
cec6c6312121292118211810291810181000180800211008393129393129
2921183939293931293939313931293129213931294a4a394a4239393931
3129214239313129214a4239312921292118423931313121101008182110
00080029211842393173635a6b5a52b5ada5deded6dececedec6c6efd6deff
e7e7fff7f7fffff7ffffff000000ffffffffffffffffffffffffffffffbdbdbdc6bdbdcec6c631292
13931293931296b635ab5a59cbdb5adbdb5a57b736b312921b5ada5e7ded
6ffffffefe7de847b73080000bdb5adfff7effffffffff7ef635a52312921dedecef7ef
e7f7efe7e7dece4239314a4239b5ada5a5a59cb5b5ad9c948c524a427b6b63
6b635abdb5adefefe7dececedececee7cecef7e7e7f7efefffffffffffff000000fffffff
fffffffffffffffffffffffb5b5b5cec6c6cec6c63931293931291810089c948cefe7d6d
6d6c6cec6bd847b73312921948c84bdb5ada5948ca59c94736b6329211894
8c84b5ada5b5ada5a5948c736b63524239948c84bdb5adbdb5adada59c5a4
a42524a42bdb5adced6c6e7efdee7d6ce6b635a73635a635a52c6c6b5efefe7
dececedececeefd6def7e7e7fff7f7fff7f7ffffff000000ffffffffffffffffffffffffffffffc6c6
c6cec6c6c6c6bd292118423931635a525a52424239315252422929214a424
24a39315a4a4a5242395a4a4239292163524a52423963524a634a4a63524
a4a393173635a5239315a4a4a4a39315242425242394a39314a42395a524
a4a4a425a524a635a525242397b6b636b635ac6c6b5f7efe7d6cec6dececee
7d6d6f7e7e7f7eff7ffffffffffff000000ffffffffffffffffffffffffffffffc6bdbdcecececec6c
62929214239315a524a42393129292139393121211831312931312139312
931292129181039312939292139292131211831292131292131292131292
13931293931293931293129213931294a42394a423939313142423921211
8524a425a4a4284736b635a52bdb5adefefe7ded6cedececeefd6def7e7e7fff
7f7fffff7ffffff000000fffffffffffffffffffffffffff7ffc6c6c6c6bdbdd6cece3939312921
18312921312921313121293121313129394239313129393931393931424a
424242394a4a423139294a4a424242394a524a393931424a393942394a52
4a4242394242394a4a424239313939313939313939314242393939294a42
397b6b636b635ab5b5adefefe7dececedececee7d6d6f7e7e7f7efefffffffffffff0
00000ffffffffffffffffffffffffffffffcecececec6c6c6c6c6393131312921423931a5ad
9cadada5a5ad9cadb5ada5ada594a59c8c9c94b5c6b5adbdb5adbdadb5c6b
db5c6b5adbdb5a5b5adb5c6bdb5c6b5b5c6bdb5c6bd8c9c8cbdcebdb5bdb5

adb5adbdbdb5bdc6bdb5bdb5a5b5a5c6cec67b7b73393129736b5a6b635ab
dbdb5efe7dedececedec6cef7dee7f7dee7fff7f7fff7f7ffffff000000ffffffffffffffffff
ffffffffffffcececec6bdbdd6cece292921313129313129b5bdad9c9c949ca59c8
c9c948ca5948c9c948ca594849c948ca5948c9c948ca594849c948ca5948c9
c948ca594849c948ca5948c9c948ca594849c948ca5948c9c9494a59c8c948
c949c9494a59cc6d6ce8c8c842118107b73636b635aadada5fff7efe7d6d6de
cecee7d6d6f7e7e7f7efefffffffffffff000000ffffffffffffffffffffffffffffffcecececec6c6
d6cece313129292921393931adada5949c94949c9494a59c8c9c948ca59c8c
a5948ca5948c9c948ca59c8ca5948ca5948c9c948ca59c8ca5948ca5948c9c
948ca59c8ca5948ca5948c9c9494a59c849c8c9cada58c9c948ca594bdd6c6
7b847b212118736b636b635ab5bdadf7f7efe7ded6dececef7dedef7e7e7fff7f
7ffffffffffff000000ffffffffffffffffffffffffffffffcececec6bdc6ded6d62929212929213
13929adada5949c9494a5948c9c948c9c948c9c94949c948c9c9494a59c8c9
c94949c948c9c9494a59c8c9c94949c948c9c9494a59c8c9c94949c948c9c9
494a59c849c948ca59c8c9c948ca59c7b9c94adc6bd7b847b2929216b635a6
b635ab5b5adfff7efded6cee7ceceefd6deffe7e7ffefefffffffffffff000000fffffffffff
fffffffffffffffffffd6cececec6c6ded6d6313129292121424239a5ad9c9ca59c949
c9494a59c8c9c9494a59c949c9494a59c949c9494a59c949c9494a59c949c9
494a59c949c9494a59c949c9494a59c949c9494a59c8c9c948ca59c8ca59c8
ca5948ca59c8ca59cadc6bd8c94842121187b736b63635ab5b5adfff7efefde
dee7cecef7dedeffe7effff7f7ffffffffffff000000ffffffffffffffffffffffffffffffd6d6d6c6b
dbde7dede3931292929213931299ca5948c9c948c9c948c9c948ca59c8c9c9
48ca59c8c9c948ca5948c9c948ca59c8c9c948ca5948c9c948ca59c8c9c948c
a5948c9c948ca59c8c9c948ca5948ca59c849c948ca59c849c94849c94c6d6
ce7b847b2121187b736b6b635aadada5fff7efe7d6d6e7ced6efd6deffefefffeff
7ffffffffffff000000ffffffffffffffffffffffffffffffded6d6cec6c6e7dede423931292118
3939319ca5949ca59c8c9c948ca59c849c948ca59c8c9c948ca59c8c9c9494
a59c8c9c948ca59c8c9c9494a59c8c9c948ca59c8c9c9494a59c8c9c948ca59
c8c9c948ca59c8c9c9494a59c8c9c948ca59cbdcec6848c84211810736b636
b635abdbdb5fff7efefded6e7cecef7dee7ffe7effff7ffffffffffffff000000fffffffffffff
fffffffffffffffffded6dec6bdbdefe7e7393131292121393931a5ada5949c9494a5
9c849c948ca59c8c9c948ca5948c9c9494a59c8c9c948ca5948c9c9494a59c
8c9c948ca5948c9c9494a59c8c9c948ca5948c9c9494a59c849c8c94a59c8c
949494a59c849c94b5c6bd84848421181873635a73635ab5b5adfffff7e7d6d
6e7ced6f7dedeffefeffff7f7ffffffffffff000000ffffffffffffffffffffffffffffffded6d6cec6c
6efe7e7423939292118393931a5a59c9ca59c94a59c8c9c948ca59c94a59c8
c9c9494a59c8c9c9494a59c8c9c9494a59c8c9c9494a59c8c9c9494a59c8c9
c9494a59c8c9c9494a59c8c9c9494a59c8c9c9494a59c949c9c8ca59cbdc6b
d84847b292118847b736b635ab5b5adfff7efefdedee7cecef7dee7ffefeffff7f7
ffffffffffff000000fffffffffffffffffffffffffff7ffe7dee7bdb5b5fff7f74a393929292129
29219ca59c949c9494a59c849c948c9c948c9c94949c9c8c9c94949c9c8c9c
94949c9c8c9c94949c9c8c9c94949c9c8c9c94949c9c8c9c94949c9c8c9c949
49c9c8c9c9494a59c8c9c9494a59c8c9c94bdcec67b7b7321181084736b6b6
35ab5b5adfff7f7e7d6d6e7ced6f7dedeffefeffff7f7ffffffffffff000000ffffffffffffffff
ffffffffffffffe7dee7c6bdbdfff7f7524a4a2921213131299c9c949ca59c8c9c948
ca59c8c9c9494a59c8c9c9494a59c8c9c9494a59c8c9c9494a59c8c9c9494a
59c8c9c9494a59c8c9c9494a59c8c9c9494a59c8c9c9494a59c8c9c9c94a59
c8c9c9c8ca59cbdcec67b7b732118107b6b6b6b635ac6bdbdfffff7e7d6dee7c
eceffe7e7ffefefffffffffffffffffff000000fffffffffffffffffffffffffff7ffefe7e7c6bdbdffffff
52524a292121292921949c948c9c948c9c948c9c948ca59c8c9c948ca5948c

9c948ca59c8c9c948ca5948c9c948ca59c8c9c948ca5948c9c948ca59c8c9c9
48ca5948c9c948ca59c8c9c948c9c9c8c9c9494a59c849c94bdcec673736b2
121186b635a6b635abdbdb5ffffffdececee7cecef7dee7ffefeffff7f7ffffffffffff00
0000ffffffffffffffffffffffffffffffe7e7e7c6c6c6ffffff63635a2121182929218c948c9
49c948c9c948ca59c8c9c948ca59c8c9c9494a59c8c9c948ca59c8c9c9494a5
9c8c9c948ca59c8c9c9494a59c8c9c948ca59c8c9c9494a59c8c9c9494a59c8
c9c9c94a59c8ca5948ca594bdcec673736b2121187b736b6b635ac6c6bdfffff
7e7d6d6e7ced6ffe7e7f7e7e7ffffffffffffffffff000000ffffffffffffffffffffffffffffffefe7e
fbdbdbdfff7f76b6b63211818212118848c84949c9494a59c8c9c948ca59c8c
9c948ca59c849c948ca5948c9c948ca59c849c948ca5948c9c948ca59c849c
948ca5948c9c948ca59c849c948ca5948c9c9494a59c8c9c948ca594849c94
bdd6c6636b5a292921736b636b635abdbdbdf7f7f7ded6d6e7d6d6efdedef7e
7effff7f7ffffffffffff000000ffffffffffffffffffffffffffffffe7e7efc6bdbdf7f7f77b7b7318
181029292184847b9ca59494a59494a59c8c9c9494a59c8c9c948ca59c8c9c
9494a59c8c9c948ca59c8c9c9494a59c8c9c948ca59c8c9c9494a59c8c9c94
8ca59c8c9c9494a59c8c9c9494a59c8c9c948ca594bdd6c6636b5a29292173
6b63635a5ad6d6cef7f7efe7dededececef7e7e7f7efefffffffffffffffffff000000ffff
ffffffffffffffffffffffffffefefefbdbdbdfff7f7847b7b18181021211884847b949c949
4a5948c9c948ca5948c9c948ca5948c9c9494a59c8c9c948ca5948c9c9494a
59c8c9c948ca5948c9c9494a59c8c9c948ca5948c9c9494a59c8c9c94949c9
48c9c9494a5948c9c94c6d6c65a5a522929216b635a6b635ae7e7def7f7efd
ececedeced6f7dee7ffefeffff7f7ffffffffffff000000ffffffffffffffffffffffffffffffefefefce
c6c6fff7f78c8c841818102929218484739ca594949c9494a59c949c9494a59
c949c9494a59c949c9494a59c949c9494a59c949c9494a59c949c9494a59c9
49c9494a59c949c9494a59c949c949ca59c949c949ca59c949c9494a59cc6d
6c65a5a522921187b6b636b635af7f7efefefe7ded6d6e7d6d6ffe7efffefefffffff
ffffffffffff000000ffffffffffffffffffffffffffffffefefefbdbdbdf7f7f79c948c1008003129
216b635a8c8c7b73736b4a524a7b847b6b6b63636b635a6352525a525a63
5a73736b7b7b736b736b6b736b6b6b636b6b637b847b6b736b73736b7373
6b7b7b7373736b73736b7b7b737b8473848c84737b734242393931296352
528c7b73efefe7e7e7dedececee7d6def7dee7ffeff7fff7f7ffffffffffff000000ffffff
fffffffffffffffffffffffff7f7f7cec6cef7efe7bdb5b51810083931293931293939313
9393152524a3131294a42393939313939313939314a4a423131292921183
931293939313131294242392929213931293939313131292929213931293
93931393931292921293121313929423931524239635252847b73fff7f7efe
7e7efdedee7d6d6f7e7effff7f7ffffffffffffffffff000000fffffffffffffffffffffffffffffff7f7f
7c6bdc6e7ded6cec6c6211810423931423931393129212118393129292118
313129312921524a423131213931293129214a42394a4239313121423931
4239313939294242314239313931294a42394239314239313931294a4a42
4242394242314239315242426b5a52948c84f7f7efe7dedee7dedef7e7e7f7e
7e7ffeff7fff7ffffffffffffff000000fffffffffffffffffffffffffffffff7f7f7d6d6d6ded6d6f7ef
ef2921103931293129214a3931393129393129423931313121736b5aa59c8
c423931635a526b635a6b635a4a42395a524a736b636b635a6b635a6b635
a6b5a52736b636b635a635a52524a424a42314239314242394a4a395a524
252423963524a9c948cffffffe7dedef7efeff7efefffeff7fff7ffffffffffffffffffff00000
0ffffffffffffffffffffffffffffffffffffded6d6cecec6f7efe73931293931294239313129
214a42393931292921182929183129213931292921183929213931292118
103931293129184239313129184239293129213129214239313931294239
293931294239314a42314a4a394242395242395a4a425a4a42a59c94f7f7ef
dee7deefefeffff7f7ffeff7ffffffffffffffffffffffff000000ffffffffffffffffffffffffffffffffffffef

e7e7cecec6f7efef4239312118104a42313129213931213939313939319c94
8c635a52a5948c949484524a425a524a948c84948c84736b635a524a736b6
3736b63635a52524a426b635a7b7363847b6b847b6b847b734a42394a4a3
94a4a395a4a42423929423931ada59cf7fff7e7e7e7f7f7f7fffffffffffffffffffffffffff
fffffffff000000fffffffffffffffffffffffff7f7f7fffffffffffff7f7eff7f7ef636352181008292
1182118081810081810083939297b7b6b4a4239737363848473635a52636
35a7373636b635a524a42524a426b635a52524a423931424239524a42635
a52524a425a4a424239292921182929212929183931294239295a524acec
6bdffffffffffffffffffffffffffffffffffffffffffffffffffffff000000ffffffffffffffffffffffffffffffffffffff
ffffefefefffffffefefe7fffff7efefdee7ded6dedecebdbdadada59c94948c7b736b6
b635a635a525a5a52635a52524a424a4a42635a52524a425a524a6363526
35a526b635a7b736b847b739c8c84b5a59cc6bdadd6cec6e7e7d6d6d6cefff7
effffff7f7efe7fffffff7fff7f7fff7ffffffffffffffffffffffffffffffffffffffffff0000000c0000004
0092900aa000000000000005a00330000000000040000002701ffff0300000
00000See how to use your
TI-83+/TI-84+ graphing calculator with permutations.
Click calculator.

The formula for a permutation:

ORThe

formula for a permutation:

(Remember that 0! = 1.)

(Note:
if n = r, as it did with the students
walking side-by-side, then
= n! for either
n Pr
formula.)

Examples:
1.
2.

Compute:
Compute:

30

P5
6 P 2

5 4 3 2 1
6 5 =

120

or
multiply by two

factors

of the factorial,
starting with 6

3.
Find the number of ways to arrange 5 objects
that are chosen from a set of 7 different objects.
76543 = 2520
7 P 5 =
or
4. What is the total number of possible 5-letter
arrangements of the letters w, h, i, t, e, if each
letter is used only once in each arrangement?
=
54321
=
120
5 P5
or

or

simply

5!

5.
How many different 3-digit numerals can be made
from the digits 4, 5, 6, 7, 8
if a digit can
appear just once in a numeral?
=
543 = 60
5 P3
or

Permutations with Special


Arrangements:
Example: Using the letters in the word
" square ", tell how many 6-letter arrangements,
with no repetitions, are possible if the :
a) first letter is a vowel.
b) vowels and consonants alternate,
beginning with a consonant.

Solution:
Part a:

Hint:

When working with

"arrangements", it is often helpful to put lines


down to represent the locations of the items.
For this problem, six "locations" are needed
for 6-letter arrangements.
_____
_____

_____

_____

_____

_____

The first locations must be a vowel (u, a, e).


There are three ways to fill the first location.
__3___
_____ _____
_____

_____

_____

After the vowel has been placed in the first


location, there are 5 letters left to be arranged
in the remaining five spaces.
__3__

__2__ __1__

__3__ __5__
or

3
3 120

__4__

P5

360

Part b:
Six locations are needed for the 6-letter
arrangements.
_____
_____

_____

_____

_____

_____

Beginning with a consonant, every other location


must be filled with a consonant. (s, q, r )
__3__ _____ __2___
_____ ___1__ _____
The remaining locations are filled with the
remaining three vowels:
__3__ __3___ __2___
__2___ ___1__ ___1__ =
36

Permutations
Definition of n factorial
The definition of n!,
pronounced n factorial is
(n)(n - 1)(n - 2). . . (3)(2)
(1)

For example:
3! = (3)(2)(1) = 6
4! = (4)(3)(2)(1) = 24
5! = (5)(4)(3)(2)(1) = 120
6! = (6)(5)(4)(3)(2)(1) = 720

Permutation

A permutation is one of the


different arrangements of a
group of items where order
matters.

When order matters

AB

BA.

Consider the following:


Given 3 people, Bob, Mike and Sue, how many different
ways can these three people be arranged where order
matters?
Let BMS stand for the order of Bob on the left, Mike
in the middle and Sue on the right.
Since order matters, a different arrangement is BSM.

Where Bob is on the left, Sue is in the middle and


Mike is on the right.
If we find all possible arrangements of Bob, Mike and
Sue where order matters, we have the following:
BMS,

BSM,

MSB,

MBS,

SMB,

SBM

The number of ways to arrange three people three at a


time is:
3! = (3)(2)(1) = 6
ways

Consider the following:


Given 4 people, Bob, Mike, Sue and Alice, how many
different ways can these three people be arranged
where order matters?
If we find all possible arrangements of Bob, Mike,
Sue and Alice where order matters, we have the
following:
BMSA,
MBSA,
SBMA,
ABMS,

BMAS,
MBAS,
SBAM,
ABSM,

BSMA,
MABS,
SMBA,
AMBS,

BSAM,
MASB,
SMAB,
AMSB,

BAMS,
MSBA,
SABM,
ASBM,

BASM
MSAB
SAMB
ASMB

There are 24 ways to arrange the four people four at


a time,
or
4!

Summary
If you want to arrange 3 people in groups of 3 at a
time, there are 3! ways to accomplish this task.
If you want to arrange 4 people in groups of 4 at a
time, there are 4! ways to accomplish this task.
If you want to arrange n objects in groups of n at a
time, there are n! ways to accomplish this task.
Property

There are n! ways to arrange n objects in groups


of n at a time.

Now Suppose we want to take these four people and


arrange them in groups of three at a time where order
matters.
The following demonstrates all the
possible arrangements.
BMS,
MBS,
SBM,
ABM,

BSM,
MSB,
SMB,
AMB,

BAS,
MAS,
SBA,
ABS,

BSA,
MSA,
SAB,
ASB,

BMA,
MBA,
SMA,
AMS,

BAM
MAB
SAM
ASM

There are 24 ways to arrange 4 objects taken 3 at a


time.
The answer again is 24, but for a different reason.
To find the value 24 mathematically we must use the
permutation formula.
The permutation formula is
when order matters.
Permutation Formula
The number of permutations of n objects
taken r at a time is:

Example 1:
Find the number of ways to arrange 4 people in groups
of 3 at a time where order matters.
Solution:

There are 24 ways to arrange 4 items taken 3 at a


time when order matters.
_____________________________________________________
____
Example 2:
Find the number of ways to arrange 6 items in groups
of 4 at a time where order matters.

Solution:

There are 360 ways to arrange 6 items taken 4 at a


time when order matters.
_____________________________________________________
_

Combinations
Combination
A combination is one of the
different arrangements of a
group of items where order
does not matter.

When order does not matter

AB = BA.

Consider the following:


Given 3 people, Bob, Mike and Sue, how many different
ways can these three people be arranged where order
does not matters?
Since order does not matter, any arrangement with
Bob, Mike and Sue is considered the same
arrangement.

Therefore the only arrangement is BMS.

Now suppose we want to take four people, Bob, Mike,


Sue and Alice, and arrange them in groups of three at
a time where order does not matter.
The following
demonstrates all the possible arrangements.
BMS,

MSA,

BMA,

BSA

There are 4 ways to arrange 4 people in groups of 3


at a time.
Combination Formula
The number of combinations of
a group of n objects taken r
at a time is:

Example 3:
Find the number of ways to take 4 people and place
them in groups of 3 at a time where order does not
matter.

Solution:
Since order does not matter, use the combination
formula.

There are 4 ways to arrange 4 items taken 3 at a time


when order does not matter.
_____________________________________________________

_
Example 4:
Find the number of ways to take 20 objects and
arrange them in groups of 5 at a time where order
does not matter.

Solution:

There are 15,504 ways to arrange 20 objects taken 5


at a time when order does not matter.
_____________________________________________________
_
Example 5:
Is the State Lotteries a combination or a
permutation?

Solution:
The answer has to do with if order matters.
If
order matters, then it is a permutation.
If order
does not matter then it is a combination.
Do you
think the numbers on a ticket have to be in the same
order as the order in which they became the winning
numbers?
In other words, lets say the winning numbers rolled
out of the machine in the order of:
1,2,3,4,5,6.
Do the numbers on your ticket have to be in this same
order to win?
Or will any order such as 2,3,1,5,6,4
also be a winning ticket?
The answer is, any order of the winning numbers will
produce the winning ticket.
Thus the lotteries are

combinations.

Factorial Tips with/without the


Calculator
Example 6:
How many ways are there to select a subcommittee of 7
members from among a committee of 17?

Solution:
Since it does not matter what order the committee
members are chosen in, the combination formula is
used.
Committees are always a combination unless the
problem states that someone like a president has
higher hierarchy over another person.
If the
committee is ordered, then it is a permutation.
C(17,7)= 19,448
Therefore there are 19,448 different ways to form the
committee.
_____________________________________________________
______
Example 7:
Determine the total number of five-card hands that
can be drawn from a deck of 52 cards.

Solution:
When a hand of cards is dealt, the order of the cards
does not matter.
If you are dealt two kings, it
does not matter if the two kings came with the first
two cards or the last two cards.
Thus cards are
combinations.

There are 52 cards in a deck and we want to know how


many different ways we can put them in groups of five
at a time when order does not matter.
The
combination formula is used.
C(52,5) = 2,598,960

Therefore there are 2,598,960 different ways to


create a five-card hand from a deck of 52 cards.

Student #1:
There are five women and six men in a group.
From
this group a committee of 4 is to be chosen.
How
many different ways can a committee be formed that
contain three women and one man?
55
60
25
192
Answer

Student #2:
There are five women and six men in a group. From this group a
committee of 4 is to be chosen. How many different ways can a
committee be formed that contain at least three women?
65
67
20
12

Answer

Example 8:
A school has scheduled three volleyball games, two soccer games,
and four basketball games. You have a ticket allowing you to
attend three of the games. In how many ways can you go to two
basketball games and one of the other events?
Solution:
Since order does not matter it is a combination.
The word AND means multiply.
Given 4 basketball, 3 volleyball, 2 soccer.
We want 2 basketball games and 1 other event. There are 5
choices left.
C(n,r)
C(How many do you have, How many do you want)
C(have 4 basketball, want 2 basketball)*C(have 5 choices left, want
1)
C(4,2)*C(5,1)
(6)(5) = 30
Therefore there are 30 different ways in which you can go to two
basketball games and one of the other events.
_________________________________________________________
__
Example 9:
How many ways are there to deal a five-card hand consisting of
three eight's and two sevens.

Solution:
If a card hand that consists of four Queens and an Ace is
rearranged, nothing has changed. The hand still contains four
Queens and an Ace. Thus, use the combination formula for
problems with cards.
We have 4 eights and 4 sevens.
We want 3 eights and 2 sevens.
C(have 4 eights, want 3 eights)*C(have 4 sevens, want 2 sevens)
C(4,3)*C(4,2) = 24
Therefore there are 24 different ways in which to deal the desired
hand.

Student #3:
How many different 5-card hands include 4 aces?
61

28

48

225

Answer

Example 10:
How many different 5-card hands include 4 of a kind and one other
card?
Solution:
We have 13 different ways to choose 4 of a kind: 2's, 3's, 4's,
Queens, Kings and Aces.

Once a set of 4 of a kind has been removed from the deck, 48


cards are left.
Remember OR means add.
The possible situations that will satisfy the above requirement are:
4 Aces and one other card

C(4,4)*C(48,1) = 48

or 4 Kings and one other card

C(4,4)*C(48,1) = 48

or 4 Queens and one other card


.
.
.
or 4 twos and one other card

C(4,4)*C(48,1) = 48

C(4,4)*C(48,1) = 48

Total of 624 ways

This problem could also have been calculated as follows.


13*C(4,4)*C(48,1) = 624
Therefore there are 624 different 5-card hands that have four of a
kind, and one other card.

Student #4:
In a local election, there are seven people running for three
positions. The person that has the most votes will be elected to
the highest paying position. The person with the second most
votes will be elected to the second highest paying position, and
likewise for the third place winner. How many different outcomes
can this election have?
301
258
176
210

Answer

Student #5:
How many different ways can a five-question true-false test can be
answered?
32

28

76

26

Answer
Example 11:
An exacta in horse racing is when you correctly guess which
horses will finish first and second. If there are eight horses in the
race, how many different possible outcomes for the exacta are
there?
Solution:
Does order matter? Yes it does! If the order did not matter who
would come to the event? Since order matters, use the formula
for a Permutation.
There are 8 horses, and we want to know how many different ways
there are to choose 2 horses at a time where order matters. In
other words, once you choose two horses, this counts as two
arrangements. If horse A comes in first and horse B comes in
second, it is a different arrangement then if horse B comes in first
and horse A comes in second.
P(8,2) = 56
Therefore there are 56 different ways to have a first and second
place winner out of eight horses.

_________________________________________________________
__
Example 11:
Find the number of ways to draw a straight, (suit does not matter)
beginning with a 4 and ending with a 8.
Solution:
There are 5 slots.
__ __ __ __ __
The first slot must be a four. There are 4 ways to put a four in the
first slot. There are 4 ways to put a five in the second slot, and
there are 4 ways to put a six in the third slot. etc.
(4)(4)(4)(4)(4) = 45 = 1024
Therefore there are 1024 different ways to produce the desired
hand of cards.

Student #6:
How many ways can 10 people be placed in alphabetical order
according to their first names?
1

Answer

10

100

10!

Student #7:
How many different ways can the letters in the word "store" be
arranged?
15

120

24

Answer

Example 12:
A certain marathon had 50 people running for first prize, second,
and third prize.
A) How many different possible outcomes are there for the first
three runners to cross the finish line?
Solution:
Order matters in a race, so use the permutation formula.
P(50,3) = 117,600

ways

B) How many ways are there to correctly guess the first, second,
and third place winners?
Solution:
There is 1 way to correctly guess who comes in first, second, and
third. There is only one set of first, second and third place
winners. You must correctly guess these three people, and there
is only one way to do so.

_________________________________________________________
__

Example 13:

A local delivery company has three packages to deliver to three


different homes.
If the packages are delivered at random to the three houses, how
many ways are there for at least one house to get the wrong
package?
Solution:
The possible outcomes that satisfy the condition of "at least one
house gets the wrong package" are:
One house gets the wrong package or two houses get the wrong
package or three houses get the wrong package.
We can calculate each of these cases and then add them together,
or approach this problem from a different angle.
The only case which is left out of the condition is the case where
no wrong packages are delivered.
If we determine the total number of ways the three packages can
be delivered and then subtract the one case from it, the remainer
will be the three cases above.
There is only one way for no wrong packages delivered to occur.
This is the same as everyone gets the right package. The first
person must get the correct package and the second person must
get the correct package and the third person must get the correct
package.
1*1*1 = 1
Determine the total number of ways the three packages can be
delivered.
3*2*1 = 6
The number of ways at least one house gets the wrong package
is:
6-1=5

Therefore there are 5 ways for at least one house to get the wrong
package.
_________________________________________________________
__

Generalized Perms & Combs


In the previous section we dealt with selections without
repetitions. In this section we look at problems that deal with
repetitions.
Consider the word fort. Since there are 4 letters grouped 4 at a
time where order matters, there are 4! ways to arrange the letters
in the word fort.
Note: Order matter when letters are rearranged. In other words,
the arrangement of the word fort is a different word when it is
arranged as trof.
But what about a word like MISSISSIPPI? How many different
arrangements are possible with duplicate letters? The letter S is
still S no matter which one you use, so all the words that have
duplicate letters such as S, I and P switched are the same words to
us.
The word Mississippi is the same word to us a Mississippi. The
two letters switched places, but it does not produce a new word for
us. Thus, all of these cases can NOT be counted as an
arrangement.
__________________________________________________
Theorem:
Suppose that a sequence S of n items has n1 identical objects of
type 1, n2 identical objects of type 2, ni identical objects of type i.
Then the number of orderings of S is:
__________________________________________________
The word MISSISSIPPI has the following number of orderings:

= 34,650
The first 4! in the denominator is due to the letter I repeated 4
times.
The second 4! in the denominator is due to the letter S repeated 4
times.
The 2! in the denominator is due to the letter P repeated 2 times.

Student #8:
How many different ways are there to arrange the word school?
455

53

487

360

Answer

Homework Problems for Permutations & Combinations

Find the following:


1.

P(7,5)

2.

C(7,5)

3.

P(4,4)

4.

P(n,n)

5.

9!

6.

C(5,5)

7.

C(n,n)

8.

C(8,0)

9.

C(n,0)

10.

P(12,3)

11.

C(9,2)

12.

P(18,8)

13.

C(21,17)

14.

P(7,4)

15.

C(11,1)

16.

P(9,0)

17.

C(9,0)

18.

P(8,3)

19.

C(13,5)

20. Twenty applicants for a secretary position are to be


interviewed to narrow the list of candidates to the top five.
many possible results are there if
A) the top five are ranked in order of preference?
B) the top five are unranked?

How

21. Six speakers are scheduled to address a group of College


students. In how many different orders can the speakers appear?
22. In how many different ways can the letters of the work
HOUSE be arranged?

23. A company has divided a state into eight regions. It wishes


to test a product in three of these regions. How many different
ways are there to select these three regions?
24. The chocolate factory classifies its candies as caramels (10
types), chocolate (7 types), and dark chocolate (8 types). A
customer has ordered an assortment to consist of six types of
caramels, four types of chocolate, and five types of dark
chocolates. How many such assortments are possible?
25. A five member committee is to be selected from among four
Math teachers and five English teachers. In how many different
ways can the committee be formed under the following
circumstance?
A) Anyone is eligible to serve on the committee.
B) The committee must consist of 3 Math teachers and 2 English
teachers.
C) The committee must contain at least three Math teachers.
D) The committee must contain at least three English teachers.
26. From a group of 8 teachers, a committee of at least one and
at most three persons is to be formed. How many different
committees can be formed?
27. In Rapid City South Dakota, there are 10 dogs racing for first
and second prize. How many possible outcomes are there?
28. If there are 8 orange bars, 9 red bars and 5 blue bars, how
many different ways are there to give a person 2 orange bars, 3 red
bars and 1 blue bar?
29. How many different ways are there to draw 6 cards from a
standard deck of cards and obtain 4 kings and 2 jacks?

30. How many different ways are there to draw 7 cards from a
standard deck of cards and obtain 3 jacks and 4 queens?
31. If two cards are chosen at random from a standard deck of
playing cards, how many different ways are there to draw the two
cards if at least one card is a jack, queen or a king?
32. If three cards are chosen at random from a standard deck of
playing cards, how many different ways are there to draw the three
cards if at least two cards are a jack, queen or a king?
33. How many different ways can the letters in the word crystal
be arranged?
34. There are 23 male and 25 female students at West Mount
High. Two different scholarships are to be awarded. How many
ways are there to award one of the scholarships to a male student
and the other to a female student.
35. There are 23 male and 25 female students at West Mount
High. Two scholarships which are identical are to be awarded.
How many ways are there to award one of the scholarships to a
male student and the other to a female student.

Answers

Homework Solutions
1. 2520
2. 21
3. 4! = 24
4. n!
5. 362880
6. 1
7. 1
8. 1
9. 1
10. 1320
11. 36
12. 1,764,322,560
13. 5985
14. 840
15. 11
16. 1
17. 1
18. 336
19. 1287
20. 1,860,480, 15,504
21. 720
22. 120
23. 56
24. 411,600
25. 126, 40, 45, 81

26.
27.

92
P(10,2) = 90

28.

11,760

29.

C(4,4)*C(4,2) = (1)(6) = 6

31. Let the set of jack, queen, king be called set A. There are 12
cards in this set.
Let the other cards be set B. There are 40 cards in this set.
Draw two cards. S = {1 card from set A and 1 card from set B, or
both cards from set A, or ...
S = {AB, AA, BB}
We want at least one from set A, so find AB or AA.
C(40,1)*C(12,1) + C(12,2) = 546
32.

2860

33. 7! = 5040
Or P(7,7)
34. 2(23)(25) = 1150
35.

(23)(25) = 575

1. Determine whether the following situations would require calculating


a permutationor a combination:

a.) Selecting three students to attend a conference in Washington,


D.C.
permutation
combination
b.) Selecting a lead and an understudy for a school play.
permutation
combination

c.) Assigning students to their seats on the first day of school.


permutation
combination

2.Evaluate:
Choose:
12
60
480
720

A teacher is making a multiple choice


quiz. She wants to give each student the
same questions, but have each student's
questions appear in a different order. If
there are twenty-seven students in the
class, what is the least number of
questions the quiz must contain?
Answer:
If there were two questions on the quiz, we
could prepare two quizzes with the questions
in different order -- 21 = 2.
If there were three questions, we could get
321 = 6 different orders.
If there were four questions, we could get
4321 = 24 different orders -- not quite
enough for the class of 27 students.
If there were five questions, we could get
54321 = 120 different orders. The
teacher will need at least 5 questions on the

quiz.

5.

A coach must choose five starters from a


team of 12 players. How many different
ways can the coach choose the starters?

Answer
5.
Choose 5 starters from a team of 12 players. Order is not important.

6.The local Family Restaurant has a daily breakfast special in


which the customer may choose one item from each of the
following groups:
Breakfast SandwichAccompanimentsJuice
egg and ham
egg and bacon
egg and cheesebreakfast potatoes
apple slices
fresh fruit cup
pastryorange
cranberry
tomato
apple
grape

a.) How many different breakfast specials are possible?


b.) How many different breakfast specials without meat are
possible?

Answer
6.
a.) Basic counting principle:

Sandwiches x Accompaniments x Juice


3 4 5 = 60 breakfast choices
b.) Meatless means that under Sandwiches there will be only one
choice.
Sandwiches x Accompaniments x Juice
1 4 5 = 20 meatless breakfast choices

7.In how many ways can 3 different vases be arranged on a


tray?

Answer
Basic counting principle:
3! = 321 = 6 ways

8. There are fourteen juniors and


twenty-three seniors in the
Service Club. The club is to send
four representatives to the State
Conference.
a.) How many different ways are
there to select a group of four
students to attend the

conference?
b.) If the members of the club
decide to send two juniors and
two seniors, how many different
groupings are possible?

Answer
8. 14 juniors, 23 seniors
37 students total
a.) Choose 4 students from the total number of students. Order is not
important.
b.) Choose 2 juniors and 2 seniors.

Permutations

BY THE PERMUTATIONS of the letters abc we mean all of


their possiblearrangements:
abc
acb
bac
bca
cab
cba
There are 6 permutations of three different things.
As the number of things (letters) increases, their
permutations grow astronomically. For example, if
twelve different things are permuted, then the number
of their permutations is 479,001,600.

Now, this enormous number was not found by


counting them. It is derived theoretically from
the Fundamental Principle of Counting:
If something can be chosen, or can happen, or be done,
in m different ways, and, after that has happened, something else
can be chosen in ndifferent ways, then the number of ways of
choosing both of them is m n.

For example, imagine putting the letters a, b, c,


d into a hat, and then drawing two of them in
succession. We can draw the first in 4 different ways:
either a or b or c or d. After that has happened, there
are 3 ways to choose the second. That is, to each of
those 4 ways there correspond 3. Therefore, there are
4 3 or 12 possible ways to choose two letters from
four.
a b c d
b a a a
a b c d
c c b b
a b c d
d d d c
ab means that a was chosen first
and b second; ba means that b was chosen first
and a second; and so on.
Let us now consider the total number of
permutations of all four letters. There are 4 ways to
choose the first. 3 ways remain to choose the second,
2 ways to choose the third, and 1 way to choose the
last. Therefore the number of permutations of 4
different things is
4 3 2 1 = 24
Thus the number of permutations of 4 different
things taken 4 at a time is 4!. (See Topic 19.)
(To say taken 4 at a time is a convention. We
mean, "4! is the number of permutations of 4 different

things taken from a total of 4 different things.")


In general,

The number of permutations of n different


things taken n at a time
is n!.
Example 1. Five different books are on a shelf. In
how many different ways could you arrange them?
Answer. 5! = 1 2 3 4 5 = 120
Example 2. There are 6! permutations of the 6
letters of the wordsquare.
a) In how many of them is r the second letter? _ r _ _
__
b) In how many of them are q and e next to each
other?
Solution.
a) Let r be the second letter. Then there are 5 ways
to fill the first spot. After that has happened, there are
4 ways to fill the third, 3 to fill the fourth, and so on.
There are 5! such permutations.
b) Let q and e be next to each other as qe. Then we
will be permuting the 5 units qe, s, u a, r.. They have
5! permutations. But q and e could be together as eq.
Therefore, the total number of ways they can be next
to each other is 2 5! = 240.
Permutations of less than all

We have seen that the number of ways of choosing 2


letters from 4 is 4 3 = 12. We call this
"The number of permutations of 4 different things
taken 2 at a time."
We will symbolize this as P :
4

P = 4 3
2

The lower index 2 indicates the number of factors.


The upper index4 indicates the first factor.
For example, P means "the number of
permutations of 8 different things taken 3 at a time."
And
8

P = 8 7 6
3

56 6

50 6
= + 6 6
336
=
For, there are 8 ways to choose the first, 7 ways to
choose the second, and 6 ways to choose the third.
In general,
n

P = n(n 1)(n 2) to k factors


k

Factorial representation

We saw in the Topic on factorials,


8
! = 8 7
5
6
!
5! is a factor of 8!, and therefore the 5!'s cancel.
Now, 8 7 6 is P . We see, then, that P can be
expressed in terms of factorials as
8

8!

8
=
=!
P
(8
5
3)!
!
In general, the number of arrangements -permutations -- of n things taken k at a time, can be
8

represented as follows:
n

n!

P =
k

. . . . . . . . . .
. .(1)

(n
k)!
The upper factorial is the upper index of P, while
the lower factorial is the difference of the indices.
Example 3. Express
10

Solution P

10

P in terms of factorials.
4

1
= 0!
6
!

The upper factorial is the upper index, and the


lower factorial is the difference of the indices. When
the 6!'s cancel, the numerator becomes 10 9 8 7.
This is the number of permutations of 10 different
things taken 4 at a time.
Example 4. Calculate
Solution.
nP
n

n!

Pn.

n
n
=! =
=
!
0
n!
1
!

(n
n)!
nP
n is the number of permutations of n different
things taken n at a time -- it is the total number of
permutations of n things: n!. Thedefinition 0! = 1
makes line (1) above valid for all values of k: k = 0,
1, 2, . . . , n.
Problem 1. Write down all the permutations of xyz.
To see the answer, pass your mouse over the
colored area.
To cover the answer again, click "Refresh"
("Reload").

xyz, xzy, yxz, yzx, zxy, zyx.


Problem 2. How many permutations are there of the
letters pqrs?
4! = 1 2 3 4 = 24
Problem 3. a) How many different arrangements
are there of the letters of the word numbers?
7! = 5,040
b) How many of those arrangements have b as the
first letter?
Set b as the first letter, and permute the
remaining 6. Therefore, there are 6! such
arrangements.
c) How many have b as the last letter -- or in any
specified position?
The same. 6!.
d) How many will have n, u, and m together?
Begin by permuting the 5 things -- num, b, e, r,
s. They will have 5! permutations. But in each one
of them, there are 3! rearrangements of num.
Consequently, the total number of arrangements in
which n, u, and m are together, is 3! 5! = 6 120
= 720.
Problem 4. a) How many different arrangements
(permutations) are there of the digits 01234?
5! = 120
b) How many 5-digit numbers can you make of those
digits, in which the
b) first digit is not 0, and no digit is repeated?
Since 0 cannot be first, remove it. Then there
will be 4 ways to choose the first digit. Now
replace 0. It will now be one of 4 remaining digits.

Therefore, there will be 4 ways to fill the second


spot, 3 ways to fill the third, and so on. The total
number of 5-digit numbers, then, is 4 4! = 4 24 =
96.
c) How many 5-digit odd numbers can you make, and
no digit is
c) repeated?
Again, 0 cannot be first, so remove it. Since the
number must be odd, it must end in either 1 or 3.
Place 1, then, in the last position. _ _ _ _ 1.
Therefore, for the first position, we may choose
either 2, 3, or 4, so that there are 3 ways to choose
the first digit. Now replace 0. Hence, there will be
3 ways to choose the second position, 2 ways to
choose the third, and 1 way to choose the fourth.
Therefore, the total number of odd numbers that
end in 1, is 3 3 2 1 = 18. The same analysis
holds if we place 3 in the last position, so that the
total number of odd numbers is 2 18 = 36.
Problem 5.
a) If the five letters a, b, c, d, e are put into a hat, in
how many different
a) ways could you draw one out? 5
b) When one of them has been drawn, in how many
ways could you
a) draw a second? 4
c) Therefore, in how many ways could you draw two
letters? 5 4 = 20
This number is denoted by P .
d) What is the meaning of the symbol P ?
5

The number of permutations of 5 different


things taken 3 at a time.
e) Evaluate P .
5

5 4 3 = 60

Problem 5. Evaluate
a) P = 120
b)
2520
6

10

P = 90

c)

P =
5

Problem 6. Express with factorials.


n!
(n k)
!

a)
P
n

12
!
5!

b)
P
12

c)
P
8

8
!
6
!

d)
P
m

m
!
m
!

In permutations, the order is all important -- we


count abc as different from bca. But
in combinations we are concerned only that a,
b, and c have been selected. abc and bca are the
same combination.
Here are all the combinations of abcd taken three
at a time:
abc abd acd bcd.
There are four such combinations. We call this

The number of combinations of 4 distinct things


taken 3 at a time.
We will denote this number as C . In general,
4

C = The number of combinations of n distinct


k

things taken k at a time.

Now, how are the number of


combinations C related to the number
of permutations, P ? To be specific, how are the
combinations C related to the permutations P ?
Since the order does not matter in combinations,
there are clearly fewer combinations than
permutations. The combinations are contained among
the permutations -- they are a "subset" of the
permutations. Each of those four combinations, in
fact, will give rise to 3! permutations:
a ab ac bc
n

bc d

d d
ac ad ad bd
b
b
c
c
ba ba ca cb
c
d
d d
bc bd cd cd
a
a
a b
ca da da db
b
b
c
c
cb db dc dc
a
a
a b
Each column is the 3! permutations of that
combination. But they are all one combination -because the order does not matter. Hence there
are 3! times as many permutations as combinations.
C , therefore, will be P divided by 3! -- the number
of permutations that each combination generates.
4 3
=2
C =
3
1 2
!
3
Notice: The numerator and denominator have
the same number of factors, 3, which is indicated by
the lower index. The numerator has 3 factors starting
with the upper index and going down, while the
denominator is 3!.
4

In general,
C =
k

k!

n(n 1)(n
2) to k factors
k!

Example 1. How many combinations are there of 5


distinct things taken 4 at a time?
5 4 3

Solution.
=

C 2
4

1 2 3 5.
4

Again, both the numerator and denominator have


the number of factorsindicated by the lower index,
which in this case is 4. The numerator has four factors
beginning with the upper index 5 and going
backwards. The denominator is 4!.
Example 2. Evaluate C .
8

Solution.
=

8
4
C
1
5
6

7 6 5
3
2 3 4
6

=
28.

Both the numerator and denominator have 6


factors. The entire denominator cancels into the
numerator. This will always be the case.
Example 3. Evaluate C .
8

Solution.
=

8
=
7
C
1 28.
2
2

We see that C , the number of ways of taking 2


things from 8, is equal to C (Example 2), the number
of ways of taking 8 minus 2, or 6. For, the number of
ways of taking 2, is the same as the number of ways of
leaving 6 behind.
Always:
nC = nC
k
nk
8

The bottom indices, k on the left and n k on the


right, together add up to n.
Example 4. Write out nC .
3

n(n 1)
C (n 2)
1 2 3

Solution.
=
The 3 factors in the numerator begin with n and go
down.
n

Factorial representation

In terms of factorials, the number of selections -combinations -- ofn distinct things taken k at a time,
can be represented as follows:
n!
nC
k =
(n k)! k!
This is nPk divided Compare line (1) of
Section 1.
by k!.
Notice: In the denominator, n k and k together
equal the numerator n.
Note also the convention that the factorial of the
lower index, k, is written in the denominator on the
right.
Example
5. C =
8

Show that this is


equal to

. (Note: 5 + 3 in the denominator

!
equals 8 in
5!
the numerator.
3!
8 7
6
.
1 2
3

Solution. 5! is a factor of 8!, so it will cancel.


8
8 7 6
8 7
!
= 5!
=6
.
1 2
5!
5! 1
3
3!
2 3

Example 6. Write each of the following with


factorials: C , C .
8

Solution.
C =

.
!
2! =
6!

. But 2! 6! is equal
!
6! to 6! 2!.
2!

Therefore, we see that the number of ways of taking 6


things from 8, is the same as the number of ways of
taking 2.
8

C = C
8

In general,
C = C
(See Problem 9, below.)
n

Example 7. Write C

nk

with factorials.

8!

Solution.
=

. Since 0! = 1, that fraction is equal


8! to 1. There is
0!

only 1 way to take 0 things from 8. This is the same as


the number of ways of taking all 8.
Example 8. Write C
n

k+1

with factorials.

Solution. Let us look at the factorial form:


C
=

m!

(m j)
! j!

The lower factorials are the difference of the


indices, m j, times the lower index, j.
Let us apply this to C . The difference of the
indices is
n

k+1

n (k + 1) = n k 1
Therefore,

n!

C
=
k+

(n k 1)!
(k + 1)!

Problem 1.
a) Write all the combinations of abcd taken 1 at a
time.
To see the answer, pass your mouse over the
colored area.
To cover the answer again, click "Refresh"
("Reload").
a, b, c, d.
b) Write their combinations taken 2 at a time.
ab, ac, ad, bc, bd, cd.
c) Write their combinations taken 3 at a time.
abc, abd, acd, bcd.
d) Write their combinations taken 4 at a time.
abcd
Problem 2.
a) There are 3! permutations of the letters rpt. Those
3! permutations
a) include how many combinations of rpt? One.
b) rpt is one of the C combinations of pqrst.
Therefore, by how much
b) must the P permutations of pqrst be reduced, in
order to have
b) only their C combinations? By 3!. C = P /3!.
5

n(n 1)(n
=
C
2) to k factors
k!
Problem 3. You have 5 shirts, but you will take with
you only 3 for your vacation. In how many different
ways can you do this?
n

C = 10. The order in which you select them


does not matter.
3

Problem 4. From a class of 12 students, 4 will be


chosen to do a job. In how many different ways could
that happen?
C = 495. The order in which you choose them
does not matter.
12

Problem 5. Evaluate the following.


6

a)
C

=1
5

b)
C

=1
0

c)
C

e)
C

=5
6

f)
C

=5
6

g)
C

10

=4
5

d)
C

=1

h)
C

10

=4
5

=1

Problem 6.
a) Write out C . Notice how the last factor in the
numerator is
a) related to the lower index.
n

n(n 1)(n 2)(n


3)
1 2 3 4

b) In the numerator of C , what will be the last


factor? (n k + 1)
n

In part a) where k = 4, the last factor is (n 3),


and 3 is 4 1. In general then, the last factor will be
[n (k 1)] = (n k + 1).

We could also see that by imagining that each of


the k factors has the form (n j). In the first
factor, j = 0. And in the kth, j = k 1.
c) In the numerator of C , what will be the last
factor? (21 m)
20

*
C
=

n!

(n k)!
k!

Problem 7. Write the following with factorials.

u!

a)
C
v

e)
C

12

12

(u v)! v!

b)
C

12!
0! 12!

f)
C

9!
6! 3!

9!

c)
C

3!
6!

d)
C

12!

12

11

1!
11!

12!

12

12!
0!

Therefore, what number is C ? 1


12

Problem 8. Write the following with factorials.


a)

c)

n!
k! (n k)!

n!
k

(n k + 1)! (k
1)!

b)

n+1

d)

n1

(n + 1)!
(n k + 1)! k!

(n 1)!
(n k)! (k
1)!

Problem 9.
a) In how many ways could you select three of these
digits: 1, 2, 3, 4, 5 ?

C = 10
3

b) In how many ways could you not select two of


them?
5

C = 10
2

c) Prove:

= C
n

C
=

nk

n!

(n k)!
k!

n!

= C
n

k!
(n k)!

nk

The sum of all combinations

What is the sum of all the combinations of n distinct


things? That is, what is the sum of C + C + C + . .
. + C?
Also, when we consider that sum, what is the
significance of each one of the combinatorial numbers?
n

First, we will see that the sum is equal to 2 .


To see that, consider any situation in which there
are exactly two possibilities: Succeed or Fail. Yes or
No. In or Out. Boy or Girl. And so on.
Now suppose that we are going to make a choice
between those two possibilities exactly n times. To be
specific, let n = 4. And say that the choice will be
between Yes or No. Then upon choosing either Yes or
No 4 times, one outcome might be
n

Yes No Yes Yes.


Another might be
No No No Yes.
Another might be
Yes No Yes No.
And so on.
Let us ask: In how many of those outcomes will
there be, for example, exactly 3 Yes's?

To answer, consider that there will be 4 positions


to fill with either
Yes or No. And let us ask: In how many different ways
could we choose 3 positions to have a Yes? It will be
the combinatorial number C , because the order will
not matter. (Compare Problem 4 above, which is
choosing students for a job. Here the "job" is to have a
Yes )
Similarly, the number of outcomes with exactly 1
Yes will be C ; the number with 2 will be C ; while the
number with no Yes's -- that is, all No's -- will be C .
The sum of those combinatorial numbers will
account for the total number of ways to choose
between two things 4 times.
4

C + C + C + C + C.
What is that total number? Consider that to each
choice of either Yes or No, there will be 2 possibilities,
obviously. The first of the 4 choices can happen in 2
different ways. After that has happened, the second
choice can also happen in 2 different ways, and
similarly with the third and fourth choices. The total
number of possible outcomes, then, is
2 2 2 2 = 2 .
4

The sum of all the combinations of 4 things is 2 .


C + C + C + C =1 + 4 + 6 + 4
+ C
+1
4

(See Pascal's
triangle,
Topic 24)
=
=

16
2.
4

There is exactly 1 way, C , in which there are no


Yes's, that is, all No's; 4 ways in which there is 1 Yes;
6 in which there are 2; 4 in which there are 3; and 1
in which there are 4.
Each combinatorial number C signifies the
number of times one of the two choices appears
exactly k times.
That distribution of outcomes which consists of the
sum of all possible combinations, is called a binomial
distribution. It is called that because, as we will see in
the next topic, the combinatorial numbers are also the
binomial coefficients.
In general, the sum of all the combinations
of n distinct things is 2 .
4

C + C + C + . . . + C = 2.
(Compare Problem 7, Topic 26.)
n

Problem 10.
a) Of 5 children, what is the total number of boy or girl
possibilities?
2 = 32.
5

b) How many of those possibilities will have 0 boys,


how many 1 boy,
b) how many 2, and so on?
1 5 10 10 5 1
These are the combinatorial numbers C .
There will be 1 with no boys, 5 with 1 boy, 10
with 2, 10 with 3, 5 with 4, and 1 with 5.
5

Problem 11. Of all possible outcomes on tossing a


coin 6 times, how many of them will have heads 4
times?
6

C = C = 15.
6

Problem 12. At Joe's Pizza Parlor, in addition to


cheese there are 8 different toppings. If you can order
any number of those 8 toppings, then how many
different toppings could you possibly order?
2 = 256. For, this is the sum of all possible
combinations: either no topping, or 1, or 2, and so
on, up to 8.
8

Problem 13.
a) A door can be opened only with a security code
that consists of five
a) buttons: 1, 2, 3, 4, 5. A code consists of pressing
any one button, or
a) any two, or any three, or any four, or all five.
a) How many possible codes are there?
a) (You are to press all the buttons at once, so the
order doesn't matter.)
This is the sum of all the combinations of 5 things -except not taking any, C , which is 1. The sum of all
those combinations, then, is 2 1 = 32 1 = 31.
5

b) If, to open the door you must press three codes,


then how many
b) possible ways are there to open the door?
a) Assume that the same code may be repeated.
There are 31 ways to choose the first code.
Again, 31 ways to choose the second, and 31
ways to choose the third. Therefore, the total
number of ways to open the door is
31 = 29,791.
3

You might also like