Let f(x)=x−[x]1+x−[x], where x denotes the greatest integer less than or equal to x, then the range of f is
[0,1/2]
[0,1)
[0,1/2)
[0,1]
If x is an integer, f(x)=0
if x is not an integer x−[x]=pq where p and q are positive integers and p<q, so that f(x)=pp+q<12 so 0≤f(x)<12 and the required range is 0,12