Example of series such that $\sum a_n$ is divergent but $\sum \frac{ a_n}{1+ n a_n}$ is convergent.
I got one example from online that $a_n =\frac {1}{n^2} $for n is non square term and $a_n =\frac {1}{\sqrt n} $ for $n$ is square term . I know that $\sum a_n$ is divergent term but not convience with convergence of $ \sum \frac{ a_n}{1+ na_n}$. Any help will be appreciated.
The counterxample is correct. If $a_n =\frac {1}{n^2}$ when $n$ is non square term and $a_n =\frac {1}{\sqrt n} $ when n is square term, we have that $$\sum_{n=1}^{\infty} a_n=\sum_{\text{$n$ is not a square}} \frac{1}{n^2}+\sum_{\text{$n$ is a square}} \frac{1}{\sqrt{n}}\geq \sum_{k=1}^{\infty} \frac{1}{\sqrt{k^2}}=+\infty.$$ One the other hand $$\sum_{n=1}^{\infty} \frac{ a_n}{1+ n a_n}=\sum_{\text{$n$ is not a square}} \frac{1}{n^2+ n}+\sum_{\text{$n$ is a square}} \frac{1}{\sqrt{n}+ n}\\\leq \sum_{n=1}^{\infty} \frac{1}{n^2}+\sum_{k=1}^{\infty} \frac{1}{k+ k^2}\leq 2\sum_{n=1}^{\infty} \frac{1}{n^2}<+\infty$$