I'm studying perturbation theory in the context of quantum mechanics. My lecture notes say that in order to calculate the first-order correction of eigenfunction $\psi_n$, that is $\psi_n^{(1)}$, I shall use the formula:
\begin{equation} \psi_n^{(1)}=\sum_{m,m\ne n} \frac{V_{mn}}{E_n^{(0)} - E_m^{(0)}}\psi_m^{(0)} \end{equation}
where $E_n^{(0)}$ is the zeroth-order correction (i.e., the unperturbed), and $V_{mn}$ are given by:
\begin{equation} V_{mn} = \left(\psi_m^{(0)}, V\psi_n^{(0)}\right) \end{equation}
and V is the "weak" potential that represents the physical disturbance to our system. $(x,y)$ represents inner product.
My question is: What values does $m$ take in the above summation ? Say I'd like to calculate the first-order corrected $\psi_1$, that is to calculate $\psi_1^{(1)}$. What values would $m$ assume ? Infinite values except for $1$ ? Values $0,\ldots,n-1$ ?