221,571 views
38 votes
38 votes
Look for a pattern to find the value of ninput output-1 20 31 42 53 n4 7

User Pennersr
by
2.4k points

1 Answer

13 votes
13 votes

We are given a set of inputs with an associated output:


\begin{gathered} \text{ input -1 }0\text{ 1 2 3 4} \\ \text{output 2 3 4 5 n 7} \end{gathered}

We notice that the output is determined by adding 3 to the input, like this:


\begin{gathered} -1+3=2 \\ 0+3=3 \\ 1+3=4 \\ 2+3=5 \\ 3+3=n \\ 4+3=7 \end{gathered}

Therefore, the value of "n" is given by:


n=3+3=6

Therefore, the value of "n" is 6.

User Imiric
by
2.8k points