Answer:
5 -2n
Step-by-step explanation:
There are several ways you can find the linear function for this table of values.
Using the last approach, we see that the first term is 3, and the common difference is 1-3 = -2. Then the n-th term is ...
an = a1 +d(n-1) . . . . . . general term of arithmetic sequence with first term a1 and common difference d
an = 3 -2(n-1) . . . . sequence with a1=3, d=-2
The output when the input is n is ...
3 -2(n -1)
This can be simplified to ...
5 -2n . . . . output for input of n