Let's consider integers from 1 (one) to 10000 (ten thousand) inclusive, if you count numbers that contain digits 4 or 5 and those do not contain 4 and 5. Which one will be high?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Numbers from 1 (one) to 10000 (ten thousand). Let's consider x1 and x2 be any digit from 1 to 9 Doesn't contain digits 4(x1) and 5(x2) : 4096 Contain digits 4(x1) and 5(x2) : 5904