In this post $\sigma(n):=\sum_{d|x}{d}$ which is called the divisor function or sometimes the sum-of-the-divisors function.
Is there an asymptotic formula for $$f(a,b,x):=\sum_{an+b\le x}\sigma(an+b)$$
For the case $a=1, b=0$ we have that the $$\sum_{n\le x}\sigma(n)=\frac{\pi^2}{12}x^2+O(x\log(x))$$
And I am looking for if there is a quick and easy way to modify the constant $\frac{\pi^2}{12}$ so that we can get bounds on a slightly broader class. If I had to eyeball it: It looks to me like $$\sum_{2n+1\le x}\sigma(2n+1)\approx \frac{\pi^2}{32}x^2$$
Which would mean that $\sum_{2n\le x}\sigma(2n)\approx \frac{5\pi^2}{96}x^2$ but I am really just speculating based on graphs here.
It should be the case however that
$\sum_{b=1}^a f(a,b,x)=f(1,0,x)=\frac{\pi^2}{12}x^2$. That may prove helpful in this puzzle I am not so sure.
Thanks