The definition of the Taylor series generated by function $f$ at $x=a$,
$$ f(a) + f'(a)(x-a) + \frac{f''(a)}{2!}(x-a)^2 + ... + \frac{f^{n}(a)}{n!}(x-a)^n + ... , $$
requires that the $f$ must be differentiable throughout some interval containing $a$ as an interior point.
However, I fail to see why $f$ need be differentiable to any order on an interval and not just only at the point $x=a$ (and the latter condition could still mean that it's continuous on some interval containing $x=a$ even though it's not differentiable to all orders on that interval)?
A Ha!
If your expansion is just $f(a)+f'(a)(x-a)$, you just need $f$ is differentiable at one point "a".
If your expansion is $f(a)+f'(a)(x-a)+\frac{f''(a)}{2!}(x-a)^{2}$, you need $f'$ to be exist in an interval to guarantee the existence of $f''(a)$
.....
If your expansion is $f(a)+f'(a)(x-a)+\frac{f''(a)}{2!}(x-a)^{2}+\dots+\frac{f^{(n+1)}(a)}{(n+1)!}$, you need $f^{(n)}$ to be exist in an interval to guarantee the existence of $f^{(n+1)}$ ......