Sets of integers determined by dynamical properties of operators