Much simpler sequences frequency computation.