List all the permutations of .
Show solution
abc, acb, bac, bca, cab, cba
Fix the first letter, then arrange the remaining two: abc, acb, bac, bca, cab, cba. That's .
List all the permutations of .
abc, acb, bac, bca, cab, cba
Fix the first letter, then arrange the remaining two: abc, acb, bac, bca, cab, cba. That's .
How many permutations of end with ?
Fix in the last position; arrange the other 6 letters: .
Find the value of each of these quantities: a) b) c) d) e) f)
a) 120 b) 720 c) 8 d) 6720 e) 40320 f) 3628800
, a product of factors.
a)
b)
c)
d)
e)
f)
Find the number of 5-permutations of a set with nine elements.
15,120
.
How many possibilities are there for the win, place, and show (first, second, and third) positions in a horse race with 12 horses if all orders of finish are possible?
1320
Order matters (1st ≠ 2nd): .
How many bit strings of length 10 contain
a) exactly four 1s?
b) at most four 1s?
c) at least four 1s?
d) an equal number of 0s and 1s?
a) 210 b) 386 c) 848 d) 252
Row 10 of Pascal's triangle: 1, 10, 45, 120, 210, 252, …
a) Choose positions of the four 1s: .
b) .
c) Complement of "at most three": .
d) Five 1s: .
A group contains men and women. How many ways are there to arrange these people in a row if the men and women alternate?
The pattern is either MWMW… or WMWM…: 2 choices. Then arrange the men in their spots () and the women in theirs ():
In how many ways can a set of five letters be selected from the English alphabet?
A set, so order doesn't matter: .
How many subsets with more than two elements does a set with 100 elements have?
All subsets minus those of size 0, 1, 2:
A coin is flipped 10 times where each flip comes up either heads or tails. How many possible outcomes
a) are there in total?
b) contain exactly two heads?
c) contain at most three tails?
d) contain the same number of heads and tails?
a) 1024 b) 45 c) 176 d) 252
An outcome is a length-10 H/T string, like a bit string.
a)
b)
c)
d)
How many permutations of the letters ABCDEFG contain
a) the string BCD?
b) the string CFGA?
c) the strings BA and GF?
d) the strings ABC and DE?
e) the strings ABC and CDE?
f) the strings CBA and BED?
a) 120 b) 24 c) 120 d) 24 e) 6 f) 0
Glue each required string into a block and count units.
a) [BCD], A, E, F, G: 5 units, .
b) [CFGA], B, D, E: 4 units, .
c) [BA], [GF], C, D, E: 5 units, .
d) [ABC], [DE], F, G: 4 units, .
e) ABC and CDE share the C, so they must overlap as [ABCDE]. With F, G that's 3 units: .
f) CBA needs B followed by A; BED needs B followed by E. B can't be followed by two different letters: 0.
How many ways are there for eight men and five women to stand in a line so that no two women stand next to each other?
Gap method. First line up the 8 men: ways. This creates 9 gaps (before, between, and after the men):
Put the 5 women in 5 different gaps, in order: .
Total: .
How many ways are there for four men and five women to stand in a line so that
a) all men stand together?
b) all women stand together?
a) 17,280 b) 14,400
a) Treat the 4 men as one block: block + 5 women = 6 units, ways. Arrange the men inside the block: .
b) Women block + 4 men = 5 units, ways; women inside the block, :
One hundred tickets, numbered 1–100, are sold to 100 different people. Four different prizes are awarded, including a grand prize. How many ways are there to award the prizes if
a) there are no restrictions?
b) the person holding ticket 47 wins the grand prize?
c) the person holding ticket 47 wins one of the prizes?
d) the person holding ticket 47 does not win a prize?
e) the people holding tickets 19 and 47 both win prizes?
f) the people holding tickets 19, 47, and 73 all win prizes?
g) the people holding tickets 19, 47, 73, and 97 all win prizes?
h) none of the people holding tickets 19, 47, 73, and 97 wins a prize?
i) the grand prize winner is a person holding ticket 19, 47, 73, or 97?
j) the people holding tickets 19 and 47 win prizes, but the people holding tickets 73 and 97 do not win prizes?
a) 94,109,400 b) 941,094 c) 3,764,376 d) 90,345,024 e) 114,072 f) 2,328 g) 24 h) 79,727,040 i) 3,764,376 j) 109,440
Prizes are different, so order matters: assign prize 1, prize 2, prize 3, prize 4 to distinct tickets.
a)
b) Grand prize fixed to 47; the other 3 prizes go to the remaining 99:
c) Choose which prize 47 wins (4), then the other 3 prizes:
d) All four prizes from the other 99:
e) Prizes for 19 and 47: ; remaining 2 prizes from 98 people: . Total
f) Prizes for 19, 47, 73: ; last prize from 97 people:
g) The four people get the four prizes in some order:
h) From the other 96 people:
i) Grand prize to one of the 4 (4 ways); the other 3 prizes among the remaining 99:
j) 19 and 47 get prizes: ; the other 2 prizes go to the 96 people excluding 19, 47, 73, 97: . Total
A club has 25 members.
a) How many ways are there to choose four members of the club to serve on an executive committee?
b) How many ways are there to choose a president, vice president, secretary, and treasurer of the club, where no person can hold more than one office?
a) 12,650 b) 303,600
a) Committee, so unordered: .
b) Titled offices, so ordered: .
(Check: .)
How many 4-permutations of the positive integers not exceeding 100 contain three consecutive integers , in the correct order
a) where these consecutive integers can perhaps be separated by other integers in the permutation?
b) where they are in consecutive positions in the permutation?
a) 37,927 b) 18,915
ranges over .
b) Choose (98 ways). The block occupies positions 1–3 or 2–4 (2 ways). The remaining slot gets any of the other 97 numbers. That gives .
Overcount: the permutation contains two blocks ( in positions 1–3 and in 2–4) and is counted twice. There are 97 of these (). Answer: .
a) Choose (98), which 3 of the 4 positions hold in order (), and the fourth number (97): .
Overcount: a permutation containing two such triples must be in increasing order (97 of them), each counted twice. Answer: .
The English alphabet contains 21 consonants and five vowels. How many strings of six lowercase letters of the English alphabet contain
a) exactly one vowel?
b) exactly two vowels?
c) at least one vowel?
d) at least two vowels?
a) b) c) d)
Letters may repeat (it's a string).
a) Position of the vowel: ; which vowel: 5; the other 5 letters are consonants: .
b) Positions: ; vowels: ; consonants: .
c) Complement: .
d) At least one, minus exactly one: .
Suppose that a department contains 10 men and 15 women. How many ways are there to form a committee with six members if it must have the same number of men and women?
3 men and 3 women: .
How many bit strings contain exactly eight 0s and 10 1s if every 0 must be immediately followed by a 1?
Each 0 is glued to the 1 after it, making 8 blocks "01". That uses 8 of the 1s, leaving 2 single "1"s. Arrange 8 identical "01" blocks and 2 identical "1"s: 10 objects, choose the positions of the two lone 1s:
How many bit strings of length 10 contain at least three 1s and at least three 0s?
912
The number of 1s must be between 3 and 7 (so that there are at least 3 zeros):
How many license plates consisting of three letters followed by three digits contain no letter or digit twice?
11,232,000
.
a) How many 5-card poker hands can be drawn from a standard 52-card deck?
b) How many 47-card hands? Why is the answer the same?
c) A college has 10 math and 12 sociology faculty. How many committees have 3 math and 5 sociology faculty?
d) How many bit strings of length contain exactly 1s?
a) b) same c) d)
a) A hand is unordered: .
b) . Choosing the 47 cards you keep is the same as choosing the 5 you leave out (symmetry).
c) Product rule: .
d) Choose which of the positions are 1s: .
A committee of 5 is chosen from 7 women and 9 men.
a) How many committees have at least one woman?
b) What is wrong with the answer ?
a)
a) Complement: all committees minus all-men committees:
b) "Pick one woman, then any 4 others" counts a committee with women times, once for each woman you could have picked first. For example, gets counted via and via . So overcounts.