I want to show that
$$\sum_{n=1}^{\infty} \left(x-n \sin\left(\frac{x}{n}\right)\right) $$
converges uniformly and is differentiable on any bounded open interval $(a,b)$ in $\mathbb{R}$.
I don't know how to show uniform convergence here. $ |x- n \sin(\frac{x}{n})| \leq |x-n| $, but that does not provide any help. Do I use the Weierstrass $M$ test? or does it involve the Cauchy criterion?
Regarding the differentiability part, I invoked the taylor series expansion of $\sin{x}$:
$$ \sum_{n=1}^{\infty} \left(x-n \sin\left(\frac{x}{n}\right)\right) = \sum_{n=1}^{\infty} \left(x-n \sum_{m=0}^{\infty} (-1)^{m} \frac{x^{2m+1}}{(2m+1)!} \right)$$
So, can I conclude it is differentiable because the series on the right is differentiable?
Hint
For the uniform converge, make a formal proof based on following arguments:
Regarding differentiability, use a similar approach and a standard theorem about differentiability of series of maps.