\[ \boxed { {x}^{2}{\frac {{\rm d}^{2}}{{\rm d}{x}^{2}}}y \left ( x \right ) + \left ( {a}^{2}{x}^{2}-6 \right ) y \left ( x \right ) =0} \]
Mathematica: cpu = 0.018502 (sec), leaf count = 114 \[ \left \{\left \{y(x)\to \frac {\sqrt {\frac {2}{\pi }} c_1 \sqrt {x} \left (\frac {3 \sin (a x)}{a^2 x^2}-\sin (a x)-\frac {3 \cos (a x)}{a x}\right )}{\sqrt {a x}}+\frac {\sqrt {\frac {2}{\pi }} c_2 \sqrt {x} \left (-\frac {3 \cos (a x)}{a^2 x^2}-\frac {3 \sin (a x)}{a x}+\cos (a x)\right )}{\sqrt {a x}}\right \}\right \} \]
Maple: cpu = 0.171 (sec), leaf count = 67 \[ \left \{ y \left ( x \right ) ={\frac {{\it \_C1}\, \left ( \cos \left ( a x \right ) {a}^{2}{x}^{2}-3\,\sin \left ( ax \right ) xa-3\,\cos \left ( a x \right ) \right ) }{{x}^{2}}}+{\frac {{\it \_C2}\, \left ( \sin \left ( ax \right ) {a}^{2}{x}^{2}+3\,\cos \left ( ax \right ) xa-3\,\sin \left ( ax \right ) \right ) }{{x}^{2}}} \right \} \]