Sequence Algorithm Examples