what percentage of the integers in the range $l,l+1,\dots k$ contain a certain digit?
For example, say l is 0, k is 9, and my digit is 3. The range of numbers (0,1,2,3,4,5,6,7,8,9) contains only one number with a 3 digit, thus the percentage would be 1/10 = 10%.
As another example, l is 25, k is 35, and my digit is 3. Now the range looks like (25,26,27,28,29,30,31,32,33,34,35), Of which, 6/11 contain 3 for a percent of 54.54%. Note that you o not double count 33, as while it contains 2 3s, it is still only one number.
Some things that I've concluded so far:
$k-l$ approaches infinity, the limit is 1. $$\lim_{(k-l)\rightarrow \infty } f(k,l)=1$$
and that's about it so far, I've been scratching my head as to how to solve this for a while now, and have never really found a way to do so.