I am working through an introductory problem that is part of an undergraduate course for Quantum Theory. I am self-studying currently. $\DeclareMathOperator{\sech}{sech} \DeclareMathOperator{\tanh}{tanh}$
A particle of mass $m$ moving on the $x$-axis has a ground-state wave function $$\psi_1(x)=\sech^2(x).$$ Show that the potential is $$V(x)=-\frac{3\hbar^2}{m}\sech^2(x). $$ If $\psi(x)=\sech(x)\tanh(x)$ is an excited state wave function for the particle, what is the energy of this state?
Both answers seem to follow straightforwardly from the stationary state Schrödinger Equation, and I have obtained $$E=-\frac{\hbar^2}{2m}$$ for the second part (hopefully correct).
From all examples I can find, the energy levels will typically be related by $$E_1n^2=E_n.$$
My question is what is the precise $n$ giving the energy level that has been found? My guess would be the second, since the relation $$\frac{1}{n^2}E_1=E_n$$ could make sense given that the ground state is the inverse of a standard hyperbolic function, and the examples I have covered lead to linear combinations of either $\cos$ & $\sin$, or $\cosh$ & $\sinh$, but I do not feel I am in a position this early on to understand how to explain such a result rigorously.
Please note I have only covered some fundamentals of Quantum Theory, namely:
$\;\;\;\;\;\;\;\;\;\;\;\;\bullet$ 'derivation' of Schrodinger's Equation
$\;\;\;\;\;\;\;\;\;\;\;\;\bullet$ modelling the wave function as a probability density funtion
$\;\;\;\;\;\;\;\;\;\;\;\;\bullet$ simple examples based around 'a particle in a box' (1D and 3D)