Let $(X_n)_{n \geq 1}$ be a sequence of pairwise independent random variables such that :
$$\sum_{n=1}^{\infty} n^{-1} P\left\{\max _{1 \leq m \leq n}\left|\sum_{k=1}^{m}\left(X_{k}-E X_{k}\right)\right|>\varepsilon n\right\}<\infty$$
show that $n^{-1} \sum_{k=1}^{n}\left(X_{k}-E X_{k}\right) \rightarrow 0$ almost surely.
I'm fairly certain Borel Cantelli Lemma for pairwise independent random variables is to be used here but I dont know how to get rid of the $n^{-1}$ inside the series.
Denote $$ p_{n,\varepsilon}:= P\left\{\max _{1 \leqslant m \leqslant n}\left|\sum_{k=1}^{m}\left(X_{k}-E X_{k}\right)\right|>\varepsilon n\right\}. $$ If $2^N\leqslant n\leqslant 2^{N+1}-1$, then $$ p_{2^N,2\varepsilon}\leqslant p_{n,\varepsilon}\leqslant P\left\{\max _{1 \leqslant m \leqslant 2^{N+1}-1}\left|\sum_{k=1}^{m}\left(X_{k}-E X_{k}\right)\right|>\varepsilon 2^N\right\}\leqslant p_{2^{N+1},\varepsilon/2}. $$ Therefore, by splitting the series into a series of indexed between two consecutive dyadic numbers, one derives that the initial assumption is equivalent to $\sum_{N\geqslant 0}p_{2^N,\varepsilon}<+\infty$ for all $\varepsilon$. By an application of the Borel-Cantelli lemma, one derives that $$ \frac 1{2^N}\max_{1\leqslant m\leqslant 2^N}\left|\sum_{k=1}^{m}\left(X_{k}-E X_{k}\right)\right|\to 0\, a.s. $$ from which it follows that $n^{-1} \sum_{k=1}^{n}\left(X_{k}-E X_{k}\right) \rightarrow 0$ almost surely.
Note that we do not use the pairwise independence of the sequence in this step; this is certainly needed in order to establish the convergence of the series given in the assumption.