Let $A \subseteq \mathbb{N} = \{1, 2, 3, \dots\}$ and define its counting function $\mathbb{R} \to \mathbb{R}$ to be $$A(x) = \#\{a \in A : a \leqslant x\}.$$ If $A \ne \varnothing$ then is it true that $$\liminf_{x \to \infty} \frac{A(\lambda x)}{A(x)} > 0$$ for all $\lambda \in (0, 1)$?
I've been thinking about this problem for several days, and although it seems too good to be true, I can't find a counterexample. It seems to be related to Karamata's notion of slowly varying functions, hence the title. Any insight would be appreciated.
Some examples:
- $A$ finite: $A(x) \sim \#A$ so the limit is always 1.
- $A = \{a, a+q, a+2q, \dots\}$: $A(x) = \lfloor \frac{x - a}{q} \rfloor \sim \frac{x}{q}$ so the limit is $\lambda$.
- $A = \{n^k : n \geqslant 1\}$: $A(x) = \lfloor \sqrt[k]{x} \rfloor \sim x^{1/k}$ so the limit is $\lambda^{1/k}$.
- $A = \{p : p \text{ is prime}\}$: $A(x) = \pi(x) \sim \frac{x}{\log x}$ (by the prime number theorem) so the limit is $\lambda$.
- $A = \{2,\ 4, 5,\ 8, 9, 10, 11,\ 16, \dots, 23,\ 32, \dots\}$ (first "half" of every dyadic block). Here, $\frac{x}{2} - 1 \leqslant A(x) \leqslant \frac{2x-1}{3}$ for large $x$, so $$\frac{A(\lambda x)}{A(x)} \geqslant \frac{\frac{\lambda x}{2} - 1}{\frac{2x-1}{3}} \to \frac{3\lambda}{4}$$ so the $\liminf$ is positive.
- $A = \{n : n \text{ has a 9}\}$: I actually have no idea, but it would be interesting to know the answer.