Maths Olympiad Prep

Track / Stage 5 / 272 of 400 #872 of 1964

Problem 872

AIME late
Combinatorics Difficulty 5.6 Find the answer

In a football club, there are nn players who have jerseys with mutually distinct numbers from 1 to nn. At the end of the season, the player with number 1 retires. The management selects one of the remaining players to sell to another club, while the remaining n−2n-2 players receive jerseys with mutually distinct numbers from 1 to nn.

In how many ways can the management select a player to sell and assign numbers to the remaining players such that no player has a higher number than the one they had this season?

A number or a short expression. Fractions can be typed as 3/2, and spacing doesn't matter.

Next problem →

Official solution

## First Solution.

The solution is 3n−1−2n−13^{n-1}-2^{n-1}.

1 point

For each k=2,3,…,nk=2,3, \ldots, n, we will consider the case where the player with number kk on their jersey is sold at the end of the season. We will calculate the number of possible jersey distributions for the remaining players in this case, and then sum the results over all kk.

Fix (the sold) player with number kk. The player with number 2 can get number 1 or 2 in the new season. The player with number 3 can get number 1, 2, or 3 in the new season, but cannot get the same number as the player with number 2, so there are only two possibilities. The player with number ii (i=2,…,k−1i=2, \ldots, k-1) can be assigned one of the first ii numbers in the new season, but it cannot be the same number as any of their i−2i-2 predecessors, so there are i−(i−2)=2i-(i-2)=2 ways to choose.

There are a total of k−2k-2 such players, so the number of ways to assign jerseys for the new season to players who had numbers 2,3,…,k−12,3, \ldots, k-1 this season is 2k−22^{k-2}.

The player with number k+1k+1 can be assigned one of the first k+1k+1 numbers in the new season, but it cannot be the same number as any of the first k−2k-2 players, which means there are exactly three possibilities. The player with number jj (j=k+1,…,nj=k+1, \ldots, n) can be assigned one of the first jj numbers in the new season, but it cannot be the same number as any of their j−3j-3 predecessors, so there are j−(j−3)=3j-(j-3)=3 ways to choose.

There are a total of n−kn-k such players, so the number of ways to assign jerseys for the new season to players who had numbers k+1,k+2,…,nk+1, k+2, \ldots, n this season is 3n−k3^{n-k}.

Therefore, the total number of ways to distribute jerseys to the remaining players in the case where the player with number kk is sold is 2k−1⋅3n−k2^{k-1} \cdot 3^{n-k}.

When we sum all the possibilities (depending on the sold player with number kk), the total number of ways to assign numbers to the players for the new season is

20⋅3n−2+21⋅3n−3+⋯+2n−2⋅30 2^{0} \cdot 3^{n-2}+2^{1} \cdot 3^{n-3}+\cdots+2^{n-2} \cdot 3^{0}

Using the identity for the difference of equal powers of two numbers, the above sum can also be written as

20⋅3n−2+21⋅3n−3+⋯+2n−2⋅30=3n−1−2n−13−2=3n−1−2n−1 2^{0} \cdot 3^{n-2}+2^{1} \cdot 3^{n-3}+\cdots+2^{n-2} \cdot 3^{0}=\frac{3^{n-1}-2^{n-1}}{3-2}=3^{n-1}-2^{n-1}

which gives us the final result.

Source: NuminaMath-1.5, licensed Apache-2.0. Statement reproduced verbatim; metadata (topic, difficulty, ordering) added by this project.