Arithmetic functions are defined from natural numbers to complex numbers. Therefore, they are not continuous in the analytic sense and consequently cannot be differentiated analytically. However, we do know that some arithmetic functions are asymptotic to analytic functions. That is, when we connect the points of an arithmetic function on the coordinate plane, it looks as though we could take a derivative, as if it were a curve. Is there a definition in the literature for such a derivative? For example, it is accepted that $\frac{d\pi(n)}{dn} \sim \frac{1}{\log n}$ which is a consequence of the Prime Number Theorem. But how can this derivative $\frac{d\pi(n)}{dn}$ be formally expressed?
$\pi(n)$ function looks like below:
Here you can see it can not be differentiable. But as you scale down the graph, you can see it will look like a curve.