Maths Olympiad Prep

Track / Stage 5 / 258 of 400 #858 of 1964

Problem 858

AIME late
Combinatorics Difficulty 5.6 Find the answer

## Task A-4.4.

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 n2n-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.

Official solution

## First Solution.

The solution is 3n12n13^{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,,k1i=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 i2i-2 predecessors, so there are i(i2)=2i-(i-2)=2 ways to choose.

There are a total of k2k-2 such players, so the number of ways to assign jerseys for the new season to players who had numbers 2,3,,k12,3, \ldots, k-1 this season is 2k22^{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 k2k-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 j3j-3 predecessors, so there are j(j3)=3j-(j-3)=3 ways to choose.

There are a total of nkn-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 3nk3^{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 2k13nk2^{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

203n2+213n3++2n230 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

203n2+213n3++2n230=3n12n132=3n12n1 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 and solution reproduced as published; topic, difficulty and ordering added by this site.