When thinking about an unrelated problem, I wanted to sum
$$\sum_{k\in[\sqrt n,2\sqrt n]}\#\{j\leq k/5:\gcd(k,j)=1\}$$ and I wanted this sum to be $\Theta(n)$. From the wikipedia I can see that if we take away the restriction of $\leq n/5$ we do have our result. A natural definition to consider given this is the following
$$\varphi(n,\varepsilon):=\#\{k\leq\varepsilon n:\gcd(k,n)=1\}$$
My question is the following
Question. Can we prove that for every fixed $\varepsilon\in(0,1)$ we have $\varphi(n,\varepsilon)=\Theta(\varphi(n))$?
I've been trying to do an averaging argument to prove that it holds true for almost every $n$ (which at least would've been enough for my original application), but I'm not too well-versed in number theory so I haven't been succesful