Is this Riemann-Integrable? Let $\lfloor x\rfloor$ be the integer part function.
Let $$f(x)= \sum_{n=0}^\infty \frac{(-1)^n}{2^n} \lfloor nx\rfloor$$
Is $f(x)$ Riemann-Integrable ? Thanks in advance

Let $[a, b]$ be a closed interval. Let's consider the Riemann integrability of $f$ on $[a, b]$.
The function $g_n(x) = \left(-\frac{1}{2}\right)^n \lfloor n x \rfloor$ is discontinuous at $\frac{1}{n} \Bbb Z$ and continuous everywhere else. It has a finite number of discontinuities on $[a, b]$. Thus, it's Riemann integrable on $[a, b]$.
Put $M = \lceil \max(|a|, |b|) \rceil$. We have:
$$
|g_n(x)| = \left| \left(-\frac{1}{2}\right)^n \lfloor n x \rfloor\right| \le M \left(\frac{1}{2}\right)^n n
$$
Since $\displaystyle \sum_{n=0}^\infty \left(\frac{1}{2}\right)^n n$ converges, $f(x) = \displaystyle \sum_{n=0}^\infty g_n(x)$ converges uniformly by the Weierstrass M-test. Hence $f$ is Riemann integrable.
