The analytic solution for the power series expansion of Heun function