ON GENERALIZED INVERSES OF BANDED MATRICES