Final answer:
The output when the input is n can be found using the function 4n - 2.
Step-by-step explanation:
To find the output when the input is n, we can look at the pattern in the given table of values. When the input increases by 1, the output increases by the same amount each time. In this case, the output increases by 4 each time the input increases by 1. So, the function can be represented as:
Output = 4n - 2
Therefore, the correct answer is B) 4n - 2.