Any there any natural functions real valued single variable that:
changes (increases) values only at primes but otherwise stay constant (like a non periodic increasing staircase)?
whose increase in value at primes depend on the value of the primes (and hence the increases are also irregular like the spacing of the staircase).
the magnitude of jumps reduces/increases with increasing primes.
So I am not looking for summation of delta functions at primes.
Would there be any utility of such a natural function to number theory?
Question: How does irregularity of primes contribute to errors using any counting function? What characteristic does one need in the counting function to reduce estimate errors?
There is also the prime counting function:
$$\pi(x)=|\{p\,\mathrm{prime} : p\le x\}|.$$