Different ways gives different results - solving $\tan 2a = \sqrt 3 $ $n\pi/2+\pi/6=m\pi+\pi/6\iff n=2m$ $n\pi/2+\pi/6=m\pi-\pi/3\iff3n+1=6m-2\iff n=2m-1$