Hello all,
I was working on this problem and wanted to make sure it was correct:
Find functions f and g satisfying
f(n) =/ 0(g(n))
g(n) =/ 0(f(n))
=/ is no equal picture the / going through the equals sign
f(n) = {1 if x is even, 0 if x is odd}
g(n) = {1 if x is even, 0 is x is odd}
If x is odd it will move toward 0, if x is even it will move toward infinity.
If that is right, could there be any other way to do that problem?
thanks for the help.
I was working on this problem and wanted to make sure it was correct:
Find functions f and g satisfying
f(n) =/ 0(g(n))
g(n) =/ 0(f(n))
=/ is no equal picture the / going through the equals sign
f(n) = {1 if x is even, 0 if x is odd}
g(n) = {1 if x is even, 0 is x is odd}
If x is odd it will move toward 0, if x is even it will move toward infinity.
If that is right, could there be any other way to do that problem?
thanks for the help.