$\cos(\frac{1}{ab} \pi) = \sin(\frac{a}{b} \pi)$
Let $a$ and $b$ be positive integers. What is the full set of solutions?
An example is $a = 2$ and $b = 5$.
I assume the best method is to take $\arccos$ on both sides and solve the resulting diophantine equation?