Hello
Currently involved in machine intelligence and OCR research at IIT Bombay. Senior CS undergrad. Done multiple courses on machine learning. This is a simple linear regression problem. However for discrete domain data, we can use ARIMA or exponential smoothing. Anyway, this should not take more than a few hours. Look forward to work with you.