If tanpθ=tanqθ then the values of θ form an A.P. with common difference
π/(p+q)
π/p
π/q
π/(p−q)
pθ=nπ+qθ⇒(p−q)θ=nπ⇒θ=nπp−q
So the values of θform an A.P. with common difference π/(p – q)