Do you know any example of a positive on ${\mathbb R}$ and a bounded function $p(x)>0$ for which all solutions of Sturm–Liouville equation are known (ie some formula)?
$-(p(x)f'(x))'=\lambda f(x)$
I am specifically interested in the case $p(x)=e^{-x^2}$, but any example is of interest.
$$-(p(x)f'(x))'=k f$$ See for example: $p(x)=x^2$, the the ODE is $$x^2f''+2xf'+kf=0$$ This is Eular's homogeneous ODE. Take $f=x^m$, then you get $m(m-1)+2m-k=0 \implies k=\frac{-1\pm\sqrt{1-4k}}{2}=m_1,m_2$ So the solution is $$f(x) =C_1 x^{m_1}+ C_2 x^{m_2}$$