f(x) may be indefinitely differentiable at x = 0, but it is a real valued function for all x. Infact if we limit

of f(x) we get a value of 1 (try prove this yourself). One way to
define the Bernoulli numbers by a Taylor series expansion about 0 for
)
and looking at the coefficient

, thus
}{m!})
. Don't treat it as if you have to put a real value input for

. You will see that even if you try to compute the Bernoulli numbers using the Taylor series, it gets really damn hard because when you differentiate each f(x), you will have to limit each to 0 (as you can not compute it by just substituting in x = 0, see why this is the case by expanding out the Taylor series yourself

)
There are many definitions (and thus computations) for the Bernoulli numbers, the ones you have listed is the recursive definition, others can be found out here
http://en.wikipedia.org/wiki/Bernoulli_number#Definitions, although the proofs are not given, you should try search them out as they are quite interesting

There are so many other interesting facts about the Bernoulli numbers and in fact I just did a huge topic on them not so long ago, they're DAMN COOL! haha