Codify sequencer math