Number Sequence Calculator