You are given a sequence . For each , index is called if and only if the following holds:
- There is at most one index such that is not a divisor of .
Your task is to find all indices in the sequence.
Recall that an integer is a divisor of an integer if and only if there exists an integer such that .