The word ABRACADABRA has letters: A’s, B’s, R’s, C, and D.
Part (a)
2 marksSince the letters repeat, we divide the number of permutations of distinct objects by the factorial of each repeated letter’s count.
| To check your answer: and ; , a positive integer as expected. ✓ |
the number of different arrangements is .
Part (b)
3 marksApproach
each condition glues a group of letters together, so we treat each group as a single unit and arrange the units. The A’s need care: “exactly 4 of the 5 A’s together” is not just “glue 4 A’s into a block” — we must also make sure that block does not end up next to the 5th A, since that would merge into a run of all 5. We count all arrangements with a block of 4 A’s, then subtract those where the block sits next to the lone A.
Since the 2 B’s must be together, treat them as one unit . Since the 2 R’s must be together, treat them as one unit . Since C is next to D, treat them as one unit , which has internal orders ( or ). Since exactly 4 of the A’s are together, treat those 4 as one unit , leaving the 5th A as a separate letter.
This gives units to arrange in a row: , , , , .
From these , we subtract the arrangements in which and the lone are adjacent, since that would give a run of A’s rather than exactly . Gluing and together (in either order) leaves units to arrange:
| To check your answer: a direct computer enumeration of all arrangements of ABRACADABRA, filtered by “BB adjacent”, “RR adjacent”, “C next to D” and “the A’s form a run of length exactly 4”, also gives . ✓ |
the number of such arrangements is .
Part (c)
3 marksTreating all A’s as one unit , we have units to arrange: , , , , , , , with the B’s and R’s each repeated.
Since all arrangements from (a) are equally likely,
| To check your answer: exactly, so the fraction reduces to the unit fraction . ✓ |
.