Verifies if the provided numbers are within an offset from the base