There are many possible ways to generate next numbers and there are algorithms that you can plug in to find the formula for a sequence.

If you aren't satisfied with that answer, just think about how many different curves can go through those points (i.e. unique curves) and that's the number of possibilities you have for the next number.