We can compute f(n) easily. f(n) = (1 + n) /2 for positive integer n.
f(1/n) = f(n) = (1 + n) / 2
For general co-prime positive integers a, b,
we can reduce to this simple case above with a procedure like Euclidean method calculating the GCD (a, b).
• 我一開始以為是f(a/b)=a*b,後來才發現算錯了 -康MM- ♀ (0 bytes) () 04/14/2009 postreply 13:41:23