Suppose we have a typical finite square well where $\lim_{x \to \pm\infty} V(x)=0$ and $V(x)=-V_0$ for all $x\in[-a,a]$ where $V_0>0$. The finite square well admits both bounds state solutions (with $E<0$) and scattering state solutions ($E>0$). For a wide and deep well the bound state solutions have energies $$E_n \approx \frac{n^2\pi^2\hbar^2}{2m(2a)^2}-V_0 \,\,\,\,\,\,\,\,\,n=1,2,3,... \tag{1}$$ Now for bound states, we require that the energies ($E_n$) be negative. This means that for valid bound states, $n$ must be below some maximal integer $N$ and hence we will only have a finite amount of bound state solutions. Moving over to the scattering state solutions (we now take $E>0$), we are able to determine the transmission coefficient for the well which takes the form $$T=\frac{1}{1+\frac{V_0^2}{4E(E+V_0)}\sin^2(\frac{2a}{\hbar}\sqrt{2m(E+V_0)})} \tag{2}$$ This equation clearly implies that the well becomes perfectly transparent ($T=1$) when $$\frac{2a}{\hbar}\sqrt{2m(E+V_0)})=n\pi \,\,\,\Rightarrow E_n=\frac{n^2\pi^2\hbar^2}{2m(2a)^2}-V_0 \tag{3}$$ Now my first problem is that for a general $n\in Z$, the above expression will not result in positive $E_n$ values. That is, for all $n\in Z$ below the previously mentioned maximal integer $N$, equation (3) will yield negative $E_n$ values. These are not scattering states. So am I correct in thinking that the above formula for $E_n$ such that $T=1$ only applies for those integers ($n>N$) whereby the resultant energies are positive?
My second question is regarding why this perfect transmission actually occurs at these energies (which are exactly the same form as the energies for the bound state energies). My initial thinking is that it must be some type of resonance phenomenon however I can't seem to reconcile this with the fact that photons will be much more likely to be absorbed by atoms when their energies match the bound state energies of the atomic electrons and hence the atoms become opaque in this case. Not transparent. But in the finite square well we have the opposite behaviour. The well becomes transparent when the incoming particles energy matches those of the bound states. Why is this the case? Why are photons absorbed when their energy equals the difference between two bound state energies of an atomic electron while a particle moves straight through a finite potential well if the if its energy equals a bound state energy plus some constant? Should maximal reflection occur here? or maximal absorption?
Any help on this would be most appreciated!