Input: 1,2,3,4

Output: 2,5,8,11

2 answers

Looks like for every change of 1 in the input, the output increases by 3
so start with y = 3x
but when x = 1, we would get 3, should be 2, so let's fix it ...

y = 3x - 1
thanks