A rational number has a terminating decimal expansion whose last non-zero digit occurs in the 4th decimal place. Show that such a number can be written in the form , where p is an integer not divisible by 10. Is it necessary that the denominator of this rational number, when written in the lowest form, is divisible by 24 or 54? Give reasons.