Classes of periodic sequences