Interpret math commands to be applied to a sequence of numbers.