Program that identifies a pattern and determines the next ten integers in a series of numbers.