Let's imagine, I have some sequence with 100 integer elements in it. How can I try to deduce a function for predicting each element of sequence? Is there any basic tools/utilities for this? MATLAB?
UPD: I would like to find algorithm to generate all these 100 integers + predict more, if possible.

