Let p,q be positive integers. For any a,b∈R define the sets P(a)={an=a+n⋅p1:n∈N} and Q(b)={bn=b+n⋅q1:n∈N}.
The distance between P(a) and Q(b) is the minimum value of ∣x−y∣ as x∈P(a),y∈Q(b). Find the maximum value of the distance between P(a) and Q(b) as a,b∈R.