Solution (source code)

= Solution

Repeated integration by parts gives
$$
E(x)\sim e^{-x}x^{-1}\sum_{n\ge0}(-1)^n n!x^{-n},
$$
so $a_n=(-1)^nn!$.