How many integers are there between 1 and 100 which have 4 as a digit but are not divisible by 4?
a(a) 5
b(b) 11
c(c) 12Correct answer
d(d) 13
Solution.
Answer: (c) 12
Between 1 and 100, there are 19 integers that contain the digit 4: nine with 4 in the units place (4,14,24,34,44,54,64,74,84,94, which is 10 numbers) and ten in the 40s (40,41,42,43,44,45,46,47,48,49), with 44 counted once (10+10−1=19).
Of these 19 integers, the multiples of 4 are 4,24,40,44,48,64,84 (7 numbers). Removing these 7 leaves 19−7=12 integers: 14,34,41,42,43,45,46,47,49,54,74,94.