predict integer sequences