In my university, my professor said that every degeneracy in QM comes from a symmetry of the Hamiltonian. But I'm not sure it is true for all the cases.
My counter-example is as follows:
In the 3D harmonic oscillator, $E_n=\hbar\omega(n+m+l+3/2)$, where $(n,m,l)$ are quantum numbers of $x,y,z$ oscillator.
For $E_n=\hbar\omega(5+3/2)$, there exists possible $(n,m,l)$ like $(1,1,3), (1,3,1), (3,1,1)$. It seems like these 3 degeneracies come from rotational symmetry. However, can we find any symmetry between 2 degeneracies $(1,1,3)$ and $(0,0,5)$?