set of AC symbols in a sequence of terms