Suppose $f: [0,1] \to \mathbb R$ is Riemann integrable on $[0,1]$, but not continuous on $[0,1]$. Let $$a_n = \left( \int_0^1 |f(x)|^n dx \right)^{\frac{1}{n}}$$ for $n \in \mathbb N$. Does $\lim_{n\to\infty} a_n$ exists? If it does, what is it equal to?
If $f$ is continuous, I know that $(a_n)$ converges to $M = \sup\{{|f(x)|: x \in [0,1]}\}$. But the proofs that I found for this case rely the continuity of $f$ to show that $\liminf_{n\to\infty} a_n \geq M$.
My idea is to use $M = \sup\{|f(x)|: x\in C\}$ instead, where $C\subseteq [0,1]$ is the set of all points at which $f$ is continuous. Then, if my reasoning is correct, there must be a $c \in C$ such that $\lim_{x\to c^+} f(x) = M$ or $\lim_{x\to c^-} f(x) = M$. Given an arbitrary $\varepsilon > 0$, perhaps I can then construct an interval $I \subset [0,1]$ such that $|f(x)| \geq M-\varepsilon$ for all $x \in I$. After that, the remaining parts should be similar to the continuous case. Nevertheless, I'm quite sure that there is some error in my line of reasoning, or maybe there is much more to be demanded for this argument to be complete.
From what I read, the term $a_n$ is actually $\|f\|_n$ (the $L^n$ norm), so $(a_n)$ should converge to $\|f\|_\infty$ as $n \to \infty$. However, my current understanding is limited to Riemann integration, without any knowledge whatsoever on measure theory and function spaces. Is there a way to prove the convergence of $(a_n)$ without resorting to measure theory, or even Lebesgue's Criterion?