Theory: indexability conditions and index computation