How to make arithmetic function continuous?

59 Views Asked by At

Suppose that we have an arithmetic function $f(x)$ defined as follows:

A custom arithmetic function

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.