Below is the table of values of a function. Write the output when the input is n.

input 1, 6, 8 , n
output 5, 10, 12, _

The output when the input is n can be determined by observing the pattern in the given table of values.

From the table, we can see that when the input increases by 2, the output increases by 5. Therefore, the pattern can be represented by the equation:

output = 5 + (input - 1) * 2

Substituting n as the input, the equation becomes:

output = 5 + (n - 1) * 2

So, the output for input n is 5 + (n - 1) * 2.