Suppose that we have an arithmetic function $f(x)$ defined as follows:
What are the methods in the literature that will make this function continuous and differentiable? However, it should be noted that this function can be custom. I want a function $g(x)$ such that $f(x)=g(x)$ when x is integer, and g(x) must be continuos and differentiable.
