On the Maximal Distance of Numbers with a Large Prime Factor