Find index in Sequence N, N+1, 2*N using Queue<T>