I'd like to get an asymptotic formula for $\sum_{\substack{n\leq x\\ n\text{ square free}}}\frac{1}{n^l}$ for $l>0$.
We know that $\sum_{\substack{n\leq x\\ n\text{ square free}}}1= cx+O(\sqrt{x})$.
Suppose $l>1$, if I use partial summation for $\sum_{\substack{n\leq x\\ n\text{ square free}}}\frac{1}{n^l}$, then I get the error term is larger than main term (since the main term is $x^{1-l}$ and the error term is $O(1)$). Is there a way to get an asymptotic formula for $\sum_{\substack{n\leq x\\ n\text{ square free}}}\frac{1}{n^l}$?