Degeneracy of two identical spin-one bosons with equally spaced orbital levels (source code)

= Degeneracy of two identical spin-one bosons with equally spaced orbital levels

If $E_n=E_0+n\Delta$, the two-particle level $2E_0+N\Delta$ has degeneracy
$$
g_N=\begin{cases}
\dfrac92N+6,&N\text{ even},\\[3pt]
\dfrac92(N+1),&N\text{ odd}.
\end{cases}
$$
Each unequal orbital pair contributes six symmetric-spin states and three antisymmetric-spin states; an equal orbital pair exists only for even $N$ and contributes six states.