any rational number can be expressed as m/n with the greatest common divisor gcd(m,n)=1 or n=1 or m=1. then f(m/n) = (m+n)/2.