The number of numbers of 4 digits which are not divisible by 5 are
7200
The total number of 4 digits are 9999-999=9000.
The numbers of 4 digits number divisible by 5 are 90×20=1800. Hence required number of ways are 9000-1800 =7200.
{Since there are 20 numbers in each hundred (1 to 100) divisible by 5 and from 999 to 9999 there are 90 hundreds, hence the results}.