Dear gb7nash
Thanks for your reply.
"For all integers greater than 0 or for all real numbers greater than 0?"
I am considering natural numbers including 0.
"This example doesn't work. f(x) = (2*x+1)/2 - (2*x-1)/2 = x + (1/2) - x - (1/2) = 0, so really, this just says that f(x) = 0.
"...
I would like to have a function f such that f(0) = 0 and f(x) = 1 for any x>0. I can compute f in the following way:
f(x) = (2*x+1)/2 - (2*x-1)/2 . Here the division is integer division. But if x=0, here we divide (2*0-1)/2 or -1/2, which is a problem. Because we do not have any number -1...