\[ y''(x) \left (a x^2+b x+c\right )+(d x+f) y'(x)+g y(x)=0 \] ✗ Mathematica : cpu = 14.2569 (sec), leaf count = 0 , DifferentialRoot result
\[\left \{\left \{y(x)\to \text {DifferentialRoot}\left (\{\unicode {f818},\unicode {f817}\}\unicode {f4a1}\left \{g \unicode {f818}(\unicode {f817})+(\unicode {f817} d+f) \unicode {f818}'(\unicode {f817})+\left (a \unicode {f817}^2+b \unicode {f817}+c\right ) \unicode {f818}''(\unicode {f817})=0,\unicode {f818}(0)=c_1,\unicode {f818}'(0)=c_2\right \}\right )(x)\right \}\right \}\]
✓ Maple : cpu = 0.214 (sec), leaf count = 501
\[ \left \{ y \left ( x \right ) ={\it \_C1}\,{\mbox {$_2$F$_1$}({\frac {1}{2\,a} \left ( -a+d+\sqrt {{a}^{2}+ \left ( -2\,d-4\,g \right ) a+{d}^{2}} \right ) },-{\frac {1}{2\,a} \left ( a-d+\sqrt {{a}^{2}+ \left ( -2\,d-4\,g \right ) a+{d}^{2}} \right ) };\,{\frac {1}{2\,{a}^{2}} \left ( d\sqrt {{\frac {-4\,ca+{b}^{2}}{{a}^{2}}}}a-2\,af+bd \right ) {\frac {1}{\sqrt {{\frac {-4\,ca+{b}^{2}}{{a}^{2}}}}}}};\,{\frac {1}{8\,ca-2\,{b}^{2}} \left ( \left ( -2\,{a}^{2}x-ab \right ) \sqrt {{\frac {-4\,ca+{b}^{2}}{{a}^{2}}}}+4\,ca-{b}^{2} \right ) })}+{\it \_C2}\, \left ( 2\,\sqrt {{\frac {-4\,ca+{b}^{2}}{{a}^{2}}}}x{a}^{2}+\sqrt {{\frac {-4\,ca+{b}^{2}}{{a}^{2}}}}ba-4\,ca+{b}^{2} \right ) ^{{\frac {1}{{a}^{2}} \left ( a \left ( a-{\frac {d}{2}} \right ) \sqrt {{\frac {-4\,ca+{b}^{2}}{{a}^{2}}}}+af-{\frac {bd}{2}} \right ) {\frac {1}{\sqrt {{\frac {-4\,ca+{b}^{2}}{{a}^{2}}}}}}}}{\mbox {$_2$F$_1$}({\frac {1}{2\,{a}^{2}} \left ( a \left ( a+\sqrt {{a}^{2}+ \left ( -2\,d-4\,g \right ) a+{d}^{2}} \right ) \sqrt {{\frac {-4\,ca+{b}^{2}}{{a}^{2}}}}+2\,af-bd \right ) {\frac {1}{\sqrt {{\frac {-4\,ca+{b}^{2}}{{a}^{2}}}}}}},{\frac {1}{2\,{a}^{2}} \left ( a \left ( a-\sqrt {{a}^{2}+ \left ( -2\,d-4\,g \right ) a+{d}^{2}} \right ) \sqrt {{\frac {-4\,ca+{b}^{2}}{{a}^{2}}}}+2\,af-bd \right ) {\frac {1}{\sqrt {{\frac {-4\,ca+{b}^{2}}{{a}^{2}}}}}}};\,{\frac {1}{2\,{a}^{2}} \left ( 4\,{a}^{2}\sqrt {{\frac {-4\,ca+{b}^{2}}{{a}^{2}}}}-d\sqrt {{\frac {-4\,ca+{b}^{2}}{{a}^{2}}}}a+2\,af-bd \right ) {\frac {1}{\sqrt {{\frac {-4\,ca+{b}^{2}}{{a}^{2}}}}}}};\,{\frac {1}{8\,ca-2\,{b}^{2}} \left ( \left ( -2\,{a}^{2}x-ab \right ) \sqrt {{\frac {-4\,ca+{b}^{2}}{{a}^{2}}}}+4\,ca-{b}^{2} \right ) })} \right \} \]