Homework 3#
Due: Thursday, September 17, 2026 23:58
Submit: Gradescope, through
Blackboard’s assignment area.
Please write your homework by hand. Start each exercise on a new page, scan your work to a legible PDF, and clearly mark the pages associated with every exercise.
1. (Selecting colored balls) #
Points: 10
For this exercise, an outcome records only the number of balls selected of each color. Thus balls of the same color are not distinguished from one another, and the order of selection is irrelevant.
(A) 5 points. A box contains 5 blue balls, 7 red balls, and 14 yellow balls. How many ways are there to select a total of 15 balls?(B) 5 points. A box contains 5 blue balls, 7 red balls, and 20 yellow balls. How many ways are there to select a total of 15 balls?
Let the
2. (Strings avoiding specified substrings) #
Points: 14
How many strings of length 15 can be formed from the 26 uppercase English
letters if no letter may be repeated and none of the following strings may
occur as a substring?
Use inclusion–exclusion. Determine every intersection carefully.
Some pairs can occur by sharing a
letter: for example, a string containing both CAT and TUG
must contain the block CATUG. Some other pairs cannot occur together
because letters may not repeat.
3. (Permutations with forbidden positions) #
Points: 12
The digits in the string
(A) 6 points. How many rearrangements have no digit in its original position?(B) 6 points. How many rearrangements satisfy all three of the following conditions?No digit is in its original position.
The digits
occupy the first three positions, in some order. The digits
occupy the last two positions, in some order.
For part (a), apply the formula for derangements. For part (b), the stated
position restrictions divide the digits into the groups