Solve problems involving index numbers and composite index