AMC 12A 2007 Problem 24

For each integer n>1, let F(n) be the number of solutions of the equation \sin x=\sin n x on the interval [0, \pi]. What is \sum_{n=2}^{2007} F(n) ?

Answer Choices
A. 2,014,524
B. 2,015,028
C. 2,015,033
D. 2,016,532
E. 2,017,033