Periodic, almost-periodic, and semiperiodic sequences.