Characterization of probability distributions through higher order gap