I'm working on a math that might allow defining a differentiable function using elementary expressions which yields a 1 if a real number is an integer, and a 0 otherwise. I'm just curious if there might be any utility to such a function to have some idea of how much it's worth exploring or otherwise would appreciate any feedback about further avenues of research.
Thanks!