\[ y''(x)=y(x) \left (-\text {csch}^2(x)\right ) \left ((1-n) n-a^2 \sinh ^2(x)\right ) \] ✓ Mathematica : cpu = 0.872822 (sec), leaf count = 231
\[\left \{\left \{y(x)\to \frac {c_2 (-1)^{\frac {1}{2} (-2 n-1)+1} \tanh ^2(x)^{\frac {1}{4} (-2 n-1)+1} \left (\tanh ^2(x)-1\right )^{\frac {1}{2} \left (\frac {a+n}{2}+\frac {1}{2} (a+n+1)+\frac {1}{2} (-2 n-1)+1\right )-\frac {1}{2}} \, _2F_1\left (\frac {1}{2} (-2 n-1)+\frac {a+n}{2}+1,\frac {1}{2} (-2 n-1)+\frac {1}{2} (a+n+1)+1;\frac {1}{2} (-2 n-1)+2;\tanh ^2(x)\right )}{\sqrt {\tanh (x)}}+\frac {c_1 \tanh ^2(x)^{\frac {1}{4} (2 n+1)} \left (\tanh ^2(x)-1\right )^{\frac {1}{2} \left (\frac {a+n}{2}+\frac {1}{2} (a+n+1)+\frac {1}{2} (-2 n-1)+1\right )-\frac {1}{2}} \, _2F_1\left (\frac {a+n}{2},\frac {1}{2} (a+n+1);\frac {1}{2} (2 n+1);\tanh ^2(x)\right )}{\sqrt {\tanh (x)}}\right \}\right \}\] ✓ Maple : cpu = 0.28 (sec), leaf count = 97
\[\left \{y \left (x \right ) = c_{1} \left (\sinh ^{n}\left (x \right )\right ) \hypergeom \left (\left [-\frac {a}{2}+\frac {n}{2}, \frac {a}{2}+\frac {n}{2}\right ], \left [\frac {1}{2}\right ], \frac {\cosh \left (2 x \right )}{2}+\frac {1}{2}\right )+\frac {c_{2} \left (2 \cosh \left (2 x \right )+2\right )^{\frac {3}{4}} \left (2 \cosh \left (2 x \right )-2\right )^{\frac {1}{4}} \left (\sinh ^{n}\left (x \right )\right ) \hypergeom \left (\left [-\frac {a}{2}+\frac {n}{2}+\frac {1}{2}, \frac {a}{2}+\frac {n}{2}+\frac {1}{2}\right ], \left [\frac {3}{2}\right ], \frac {\cosh \left (2 x \right )}{2}+\frac {1}{2}\right )}{\sqrt {\sinh \left (2 x \right )}}\right \}\]