How many integers are there less than n with at least k odd integer?

49 Views Asked by At

Question : How many integers are there $\leqslant n$ with at least k odd integer in digits?

I having a problem using the inclusion-exclusion principle here. How to solve it without the inclusion-exclusion principle?But solution with inclusion-exclusion is appreciated.