Problem 4
Let be an equilateral triangle. From vertex we draw a ray toward the interior of the triangle so that it reaches one of the sides. When the ray reaches a side it bounces off following the law of reflection, that is, if it arrives with directed angle it leaves with directed angle . After bounces the ray returns to without ever landing on either of the other two vertices. Find all possible values of .
Step 3 of 7: Count crossed lines as bounces
Detailed analysis
The segment from to crosses lines parallel to , lines parallel to , and lines parallel to , each crossing corresponding to one bounce in the folded picture; the total is , so .