Determining Indexes of Terms in Arithmetic Sequences