2007 AMC 12A Problem 24

Attempt Problem 24 of the 2007 AMC 12A below, then check your answer against the professionally curated solution from LIVE by Po-Shen Loh. You can also try the full timed exam, view all 2007 AMC 12A solutions, or check the answer key.

All problems are used with official legal permission of the Mathematical Association of America (MAA).

24.

For each integer n>1,n\gt 1, let F(n)F(n) be the number of solutions of the equation sin⁡x=sin⁡nx\sin x=\sin nx on the interval [0,π].[0,\pi]. What is ∑n=22007F(n)?\displaystyle\sum_{n=2}^{2007}F(n)?
2,014,5242{,}014{,}524
2,015,0282{,}015{,}028
2,015,0332{,}015{,}033
2,016,5322{,}016{,}532
2,017,0332{,}017{,}033
Answer: D
Concepts:trigonometrycounting intersectionssummation
Small hint:
F(n)F(n) counts intersections of y=sin⁡xy=\sin x and y=sin⁡nxy=\sin nx on [0,π],[0,\pi], usually two per hump of sin⁡nx\sin nx
Big hint:
F(n)=n+1F(n)=n+1 except when n≡1(mod4),n\equiv 1\pmod 4, where a shared maximum drops it to nn
Solution:
On each interval where sin⁡nx≥0,\sin nx\ge 0, the graphs of sin⁡x\sin x and sin⁡nx\sin nx meet twice, unless they share the value 11 there, in which case they meet once. Counting the humps and the endpoint at (π,0)(\pi,0) gives
F(n)=n+1F(n)=n+1 when nn is even or n≡3(mod4),n\equiv 3\pmod 4, and F(n)=nF(n)=n when n≡1(mod4).n\equiv 1\pmod 4.
Thus ∑n=22007F(n)=∑n=22007(n+1)−#{n≡1 ⁣ ⁣(mod4)}. \begin{aligned} &\sum_{n=2}^{2007}F(n) \\ &=\sum_{n=2}^{2007}(n+1) \\ &\quad {}-\#\{n\equiv 1\!\!\pmod 4\}. \end{aligned} The first sum is 2,017,033,2{,}017{,}033, and there are 501501 values n≡1(mod4)n\equiv 1\pmod 4 in the range, giving 2,017,033−501=2,016,532.2{,}017{,}033-501=2{,}016{,}532.
Thus, the correct answer is D.
LIVE by Po-Shen Loh
Programs

LIVE Classes

Self-Paced Classes

Stars

Scholarship

About Us

Who Is Po-Shen Loh?

Email Contact

Newsletter

Jobs

Become a Star

For a more Thought Full world.

© 2026 Expii, Inc.