Find solutions of the given equation in the form of power series $$y'' +2xy' = 0$$
My approach:
$$2xy' = 2a_1x + 2\times2a_2x^2 + 2\times3a_3x^3 + ... = \sum 2ia_{i}x^{i}$$ $$y'' = 2a_2 + 3\times2a_3x + 4\times3a_4x^2 + ... = \sum (i+1)(i+2)a_{i+2}x^{i}$$
So to have $y'' +2xy' = 0$ we need to have every coefficient equal to $0$.
So
$x^0$ // $2a_2 + 0 = 0 => a_2=0$
$x^1$ // $3\times2a_3 + 2a_1 = 0 => a_3 = -a_1/3$
$x^2$ // $4\times3a_4 + 2\times2a_2=0 => a_4 = -4a_2/12 = 0$
...
So it was easy to observe that every even coefficient is equal to $0$ and every odd one can be written in terms of $a_0$
Afterwards I wanted to find a recursive formula for odd coefficients and this is a problem that I can't solve.
I tried doing it in that way: $$2n(2n+1)a_{2n+1} + 2(2n-1)a_{2n-1} = 0$$ $$a_{2n+1} = -\frac{2(2n-1)a_{2n-1}}{2n(2n+1)}$$
Now probably it should be somehow easy to write it as a recursive formula in terms of $a_0$, but I can't really see it.
You already did most of the job.
Comment:
In (1) we use the double factorial $(2n-1)!!=(2n-1)(2n-3)\cdots3\cdot 1$.
In (2) we use $(2n)!=(2n)!!(2n-1)!!$ and $(2n)!!=(2n)(2n-2)\cdots 4\cdot2$.
In (3) we use $(2n)!!= 2^n n!$.
Note that $A(x)=\frac{a_1\sqrt{\pi}}{2}\mathrm{erf}(x)$ where $\mathrm{erf}$ is the error-function.