(Context: I have been using this resource from UC Davis to help me out with Riemann integrability.)
So, I more or less get how Riemann integrability works when we specify $x$ over an interval, say $x>0$. But what if $x$ is a function of $n$? I came across this problem:
Prove that $f(x)$ is Riemann Integrable over $[0,1]$ and that $\int_{0}^{1}f(x) = 0$ given $$f(x)=\left\{\begin{matrix} 1 & x=\frac{1}{n} \\ 0 & \text{otherwise} \end{matrix}\right.$$
I'm not sure how to partition this (because of the $n$) to show this. Anyone have any insight?