Finding the Next Numbers in a Sequence