Sequences, Time Series and Prediction