2024 AMC 10A Problem 6

Below is the professionally curated solution for Problem 6 of the 2024 AMC 10A, from LIVE by Po-Shen Loh. You can also try the full timed exam, view all 2024 AMC 10A solutions, or check the answer key.

All of the real AMC 8, AMC 10, AMC 12, and AIME problems in our complete solution collection are used with official legal permission of the Mathematical Association of America (MAA).

Concepts:permutationscounting pairsinvariant

Difficulty rating: 1200

6.

What is the minimum number of successive swaps of adjacent letters in the string ABCDEF that are needed to change the string to FEDCBA?

(For example, 33 swaps are required to change ABC to CBA; one such sequence of swaps is ABC \to BAC \to BCA \to CBA.)

66

1010

1212

1515

2424

Solution:

Reversing all six letters flips the relative order of every pair, so all (62)=15\binom{6}{2} = 15 pairs end up inverted. Each adjacent swap fixes exactly one inversion. So we need at least 1515 swaps, and bubbling each letter into place hits 1515 exactly. Therefore, the answer is D.

Problem 6 in Other Years