\[ y''(x)-y(x) (B+n (n+1) \wp (x;\text {g2},\text {g3}))=0 \] ✗ Mathematica : cpu = 0.273555 (sec), leaf count = 0 , could not solve
DSolve[-((B + n*(1 + n)*WeierstrassP[x, {g2, g3}])*y[x]) + Derivative[2][y][x] == 0, y[x], x]
✗ Maple : cpu = 0. (sec), leaf count = 0 , result contains DESol
\[ \left \{ y \left ( x \right ) ={\it DESol} \left ( \left \{ {\frac {{\rm d}^{2}}{{\rm d}{x}^{2}}}{\it \_Y} \left ( x \right ) + \left ( -n \left ( n+1 \right ) {\it WeierstrassP} \left ( x,{\it g2},{\it g3} \right ) -B \right ) {\it \_Y} \left ( x \right ) \right \} , \left \{ {\it \_Y} \left ( x \right ) \right \} \right ) \right \} \]