\[ y''(x)-a y(x)^3=0 \] ✓ Mathematica : cpu = 2.52144 (sec), leaf count = 242
\[\left \{\left \{y(x)\to -\frac {\sqrt [4]{2} \sqrt {c_1} \sqrt {\frac {i \sqrt {a}}{\sqrt {c_1}}} \text {sn}\left (\left .\frac {(-1)^{3/4} \sqrt {\sqrt {2} \sqrt {a} \sqrt {c_1} x^2+2 \sqrt {2} \sqrt {a} \sqrt {c_1} c_2 x+\sqrt {2} \sqrt {a} \sqrt {c_1} c_2{}^2}}{\sqrt {2}}\right |-1\right )}{\sqrt {a}}\right \},\left \{y(x)\to \frac {\sqrt [4]{2} \sqrt {c_1} \sqrt {\frac {i \sqrt {a}}{\sqrt {c_1}}} \text {sn}\left (\left .\frac {(-1)^{3/4} \sqrt {\sqrt {2} \sqrt {a} \sqrt {c_1} x^2+2 \sqrt {2} \sqrt {a} \sqrt {c_1} c_2 x+\sqrt {2} \sqrt {a} \sqrt {c_1} c_2{}^2}}{\sqrt {2}}\right |-1\right )}{\sqrt {a}}\right \}\right \}\] ✓ Maple : cpu = 1.019 (sec), leaf count = 21
\[\left \{y \left (x \right ) = c_{2} \mathrm {sn}\left (c_{2} \left (c_{1}+\frac {\sqrt {-2 a}\, x}{2}\right )| i\right )\right \}\]