Ps md #2

In a company there are managers and workers in the ratio 2:5. It can be shown that if there are between p and q workers (both inclusive) in the company, the number of employees in the company can be uniquely determined. What is the maximum of q-p?

What’s your attempt?