2011 AIME II Problem 7
Below is the professionally curated solution for Problem 7 of the 2011 AIME II, from LIVE by Po-Shen Loh. You can also try the full timed exam, view all 2011 AIME II 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).
Difficulty rating: 2710
7.
Ed has five identical green marbles, and a large supply of identical red marbles. He arranges the green marbles and some of the red ones in a row and finds that the number of marbles whose right hand neighbor is the same color as themselves equals the number of marbles whose right hand neighbor is the other color. An example of such an arrangement is GGRRRGGRG. Let be the maximum number of red marbles for which such an arrangement is possible, and let be the number of ways in which Ed can arrange the marbles to satisfy the requirement. Find the remainder when is divided by
Solution:
Break the row into maximal single-color runs. If there are runs, there are exactly different-color neighbor pairs. Since runs alternate colors and the five green marbles form at most runs, there are at most red runs, hence at most runs and at most different-color pairs. With red marbles there are neighbor pairs in all, and the requirement says half of them are different-color pairs, so i.e. Thus
With reds and marbles, the count of different-color pairs must be exactly so there are exactly runs: the colors must alternate as red–green–red––red with red runs and single green marbles between them. The arrangements correspond to compositions of into positive parts, of which there are
Hence and the remainder upon division by is
Problem 7 in Other Years
1997 AIME · 1998 AIME · 1999 AIME · 2000 AIME I · 2000 AIME II · 2001 AIME I · 2001 AIME II · 2002 AIME I · 2002 AIME II · 2003 AIME I · 2003 AIME II · 2004 AIME I · 2004 AIME II · 2005 AIME I · 2005 AIME II · 2006 AIME I · 2006 AIME II · 2007 AIME I · 2007 AIME II · 2008 AIME I · 2008 AIME II · 2009 AIME I · 2009 AIME II · 2010 AIME I · 2010 AIME II · 2011 AIME I · 2012 AIME I · 2012 AIME II · 2013 AIME I · 2013 AIME II · 2014 AIME I · 2014 AIME II · 2015 AIME I · 2015 AIME II · 2016 AIME I · 2016 AIME II · 2017 AIME I · 2017 AIME II · 2018 AIME I · 2018 AIME II · 2019 AIME I · 2019 AIME II · 2020 AIME I · 2020 AIME II · 2021 AIME I · 2021 AIME II · 2022 AIME I · 2022 AIME II · 2023 AIME I · 2023 AIME II · 2024 AIME I · 2024 AIME II · 2025 AIME I · 2025 AIME II · 2026 AIME I · 2026 AIME II