Integral $\int_0^\infty\exp\left(-\sqrt2\,x^2\right)\,\operatorname{erfi}(x)\,\log(x)\,x^3\,dx$
Solution 1:
There is an explicit expression for the value of this integral that does not rely on derivatives of hypergeometric indices. The idea is to simply use the definition of erfi and reverse the order of integration. The integral we want is then
$$\mathcal{A}=\frac{2}{\sqrt{\pi}}\int_0^1 dt \, \int_0^{\infty} dx \, e^{-(\sqrt{2}-t^2) x^2} \, x^4 \, \log{x}$$
Really, all you need to know is that
$$\int_0^{\infty} dx \, e^{-x^2} \log{x} = \frac12 \left [\frac{d}{d\beta}\Gamma\left (\frac{\beta+1}{2}\right ) \right ]_{\beta=0} = -\frac{\sqrt{\pi}}{4} (\gamma+\log{4})$$
Then
$$\begin{align}\int_0^{\infty} dx \, e^{-\alpha x^2} \, x^4 \, \log{x} &= \frac{d^2}{d \alpha^2} \int_0^{\infty} dx \, e^{-\alpha x^2} \, \log{x} \\&= -\frac{\sqrt{\pi } (3 \log (\alpha)+3 \gamma -8+3 \log (4))}{16 \alpha^{5/2}}\end{align}$$
So what we have here is the messy but very doable integral
$$(8 - 3 \gamma - 6 \log{2}) \frac{\sqrt{\pi}}{16} \int_0^1 dt \, \left (\sqrt{2}-t^2 \right )^{-5/2} - \frac{3 \sqrt{\pi}}{16} \int_0^1 dt \, \left (\sqrt{2}-t^2 \right )^{-5/2} \log{\left (\sqrt{2}-t^2 \right )} $$
With these integrals, we make the substitution $t = 2^{1/4} \sin{\theta}$, etc. We end up having to evaluate the following integrals
$$\int d\theta \, \sec^4{\theta} = \frac13 \tan^3{\theta} + \tan{\theta}+C$$ $$\begin{align}\int d\theta \, \sec^4{\theta}\, \log{(\cos{\theta})} &= \left [\frac13 \tan^3{\theta} + \tan{\theta} \right ] \log{(\cos{\theta})} \\&+ \frac13 \left [\frac13 \tan^3{\theta} + 2 \tan{\theta} - 2 \theta \right]+C \end{align}$$
over $t \in [0,\arcsin{2^{-1/4}}]$. I leave out the details of the arithmetic; the final result one gets upon evaluating the above integrals at the endpoints of the $t$ interval is
$$\mathcal{A}=\frac{2 (3+ \sqrt{2})-[ \gamma +2 \log (2)+ \log{\left(\sqrt{2}-1\right)}]\left(4+ \sqrt{2}\right)}{16 \left(\sqrt{2}-1\right)^{1/2}}+\frac14 \arcsin\left(2^{-1/4}\right)$$
which is about $0.538106$, matching a numerical evaluation of the original integral.