Solution 1
Let s=∑k=135sin5k=sin5+sin10+…+sin175. We could try to manipulate this sum by wrapping the terms around (since the first half is equal to the second half), but it quickly becomes apparent that this way is difficult to pull off. Instead, we look to telescope the sum. Using the identity sinasinb=21(cos(a−b)−cos(a+b)), we can rewrite s as
s⋅sin5=k=1∑35sin5ksin5=k=1∑3521(cos(5k−5)−cos(5k+5))=0.5(cos0−cos10+cos5−cos15+cos10…+cos165−cos175+cos170−cos180)
This telescopes to
s=2sin5cos0+cos5−cos175−cos180=sin51+cos5.
Manipulating this to use the identity tanx=sin2x1−cos2x, we get
s=sin1751−cos175⟹s=tan2175,
and our answer is 177.
Solution 2
This solution will work entirely in degrees. Let
z=e5∘i.
For each integer k, consider the unit vector in the complex plane
vk=zk=e5k∘i.
Geometrically, vk is a unit vector making an angle of 5k∘ with the positive real axis. Now draw each vector vk for 1≤k≤35 tip-to-tail on the complex plane. Begin at O, the origin, and draw the vector v1. Then starting at where v1 ended, draw v2. Continue until you draw v35, and the sum of these 35 vectors will end at B, as seen in the diagram below. Because each successive vector is obtained by rotating the previous vector by 5∘, we have a portion of a regular polygon with an exterior angle of 5 degrees, so it has 5∘360∘=72 sides.
Additionally, notice that B is directly above A. This is because the vector sum will have its horizontal components completely cancel out. We realize that cos5+cos175=0, and we can form a similar pair for each of the other complex numbers, except for v18=i.

The above diagram starts at the origin O and draws the 35 vectors.
Note that
Im(vk)=sin5k.
Therefore, ∑k=135sin5k is simply the y-coordinate of the vector sum v1+v2+…v35. In the diagram, this is the distance of the vertical blue line connecting O to the topmost point.
Let A be the vertex of the 72-gon that is directly to the left of O and B be the resulting vertex of summing the 35 vectors. Looking at right triangle AOB, we notice that AO=1. Remember that our desired sum equals BO=tan∠BAO. We now just need to find ∠BAO.
Notice that BA bisects A's interior angle, so ∠BAO is half of the interior angle of the 72-gon. So ∠BAO=2175.
Recall that our sum equals tannm=tan2175, so our answer is 175+2=177.
~lprado
Solution 3
We note that sinx=Im eix*. We thus have that
k=1∑35sin5k=k=1∑35Im e5ki=Im k=1∑35e5ki=Im 1−e5ie5i(1−e180i)=Im (1−cos5)−isin52cos5+2isin5=Im (1−cos5)2+sin25(2cos5+2isin5)[(1−cos5)+isin5]=2−2cos52sin5=1−cos5sin5=1+cos175sin175=tan2175.
The desired answer is thus 175+2=177.
- Only if x is in radians, which it is not. However, the solution is still viable, so keep reading.
Solution 4
Let x=e36iπ. By Euler's Formula, sin5k∘=2ixk−xk1.
The sum we want is thus 2ix−x1+2ix2−x21+⋯+2ix35−x351
We factor the 2i1 and split into two geometric series to get 2i1(x−1−x351(x35−1)+x−1x(x35−1))
However, we note that x36=−1, so −x351=x, so our two geometric series are actually the same. We combine the terms and simplify to get i1(x−1x36−x)
Apply Euler's identity and simplify again to get i1(x−1−x−1)
Now, we need to figure out how to express this as the tangent of something. We note that tan(5k∘)=cos(5k∘)sin(5k∘)=2xk+xk12ixk−xk1=i1x2k+1x2k−1.
So, we set the two equal to each other to solve for k. Cross multiplying gets (−x−1)(x2k+1)=(x−1)(x2k−1). Expanding yields −x2k+1−x−x2k−1=x2k+1−x−x2k+1. Simplifying yields x2k+1=−1. Since 2k+1=36 is the smallest solution, we have k=235, and the argument of tangent is 5k=2175. The requested sum is 175+2=177.
Solution 5
This solution is inspired by 1997 AIME Problems/Problem 11. First of all, ∑k=135sin5k=∑k=035sin5k because the difference is sin0=0. Now consider the sum ∑k=035cos5k. Since cos5=−cos175, cos10=−cos170 and so on, this simplifies to cos0=1. Now, consider the ratio
n=0∑35cos5k.n=0∑35sin5k
Using the sum-to-product identities, the numerator can be written as
sin2175(cos2175+cos2165+⋯+cos25.)
Similarly (via sum-to-product identities), the denominator is equivalent to
cos2175(cos2175+cos2165+⋯+cos25.)
If we substitute these equivalent expressions into the original ratio, many parts cancel. We are left with
cos2175sin2175=tan2175.
Aha! Remembering that the original denominator ∑k=035cos5k was equal to 1, we realize that the numerator, ∑k=035sin5k=tan2175. Since ∑k=035sin5k=∑k=135sin5k, we get tan2175, or m+n=177, as our final answer. ■ ~ewei12