Let's consider spherical well potentials,

The Schrödinger equations for these two regions can be written by

for
and

for
.
The general solutions are

where
and
.
For the
term, the centrifugal barrier drops out and the equations become the following

The generalized solutions are

Using the boundary condition,
, we find that
. The second equation can then be reduced to sinusoidal function where
.

for
, we know that
since as
approaches infinity, the wavefunction does not go to zero.

Matching the conditions that at
, the wavefunctions and their derivatives must be continuous which results in 2 equations


Dividing the above equations, we find
, which is the solution for the odd state in 1D square well.
Solving for
, we know that there is no bound state for
.