Where \(n_g\) is the group index.