I would like to know how to proof the following:
Let f : (a,b) --> Z be continuous on (a,b) where Z is the integers.
Show that f must be a constant function.
I know we have to suppose f is nonconstant but next, how do we use the Intermediate Value Theorem to show the complete proof?
May someone please help.