I am working on a problem that involves predicting the next n numbers when a list of p numbers is given. The sequence is non-linear:
n
p
p =