For $x\geq 10$, denote $j=j_x$ s.t. $4 \geq \frac{x}{2^j}\geq 2$. I want to prove that $$\sum_{i=0}^j \frac{x/2^i}{\log(x/2^i)} \sim \frac{2x}{\log x}$$
The reason I care is because the prime number theorem $\sum_{x<p\leq 2x} 1 \sim \frac{x}{\log x}$ implies that $\sum_{x<p\leq 2x} 1 \sim \frac{x}{\log x}$, and I need the above asymptotic to go backward.
Based on graphical evidence, this seems true https://www.desmos.com/calculator/qku5msur6w.
I can manage to show that these are comparable (i.e. $\asymp$), but not $\sim$. My method is to write $$\frac{x/2^i}{\log(x/2^i)} = \frac{x/2^i}{\log(x)} \cdot \frac{\log(x)}{\log(x/2^i)},$$ where the 2nd factor $$\frac{\log(x)}{\log(x/2^i)} = 1+\frac{\log(2^i)}{\log(x/2^i)} \leq 1+\frac{i\log(2)}{\log(x/2^j)} \leq 1+ \frac{i\log 2}{\log 2}= (1+i),$$ and of course $\frac{1+i}{2^i} \ll \frac{1}{(1.5)^i}$, which is summable to some constant.