(a) Except as provided in AS 14.17.400(b), funding for state boarding schools established under AS 14.16.010 includes an allocation from the public education fund in an amount calculated by
(1) determining the ADM of state boarding schools by applying the school size factor to the student count as described in AS 14.17.450;
(2) multiplying the number obtained under (1) of this subsection by the special needs factor in AS 14.17.420(a)(1) and the secondary school vocational and technical instruction funding factor set out in AS 14.17.420(a)(3) and multiplying that product by the base student allocation; and
(3) multiplying the product determined under (2) of this subsection by the district cost factor that is applicable to calculation of the state aid for the adjacent school district under AS 14.17.460.
(b) State boarding schools are also eligible for intensive services funding under AS 14.17.420(a)(2).