Computer Science, asked by bavitha8156, 7 months ago

The numbers in the table below are the result of executing an algorithm that has one parameter N, a non-negative integer, and produces sequences of integers as outputs. For values of N from 0 to 5, the algorithm produces the following sequences of numbers as outputs.
N=0 sequence 0 2
N=1 sequence 3 5 7 9
N=2 sequence 6 8 10 12 14 16
N=3 sequence 9 11 13 15 17 19 21 23
N=4 sequence 12 14 16 18 20 22 24 26 28 30
N=5 sequence 15 17 19 21 23 25 27 29 31 33 35 37
What is the sequence for N =6

Answers

Answered by harnathyadav2907
0

\huge\mathbb\pink{\underline {\underline{Answer}}}

The numbers in the table below are the result of executing an algorithm that has one parameter N, a non-negative integer, and produces sequences of integers as outputs. For values of N from 0 to 5, the algorithm produces the following sequences of numbers as outputs.

N=0 sequence 0 2

N=1 sequence 3 5 7 9

N=2 sequence 6 8 10 12 14 16

N=3 sequence 9 11 13 15 17 19 21 23

N=4 sequence 12 14 16 18 20 22 24 26 28 30

N=5 sequence 15 17 19 21 23 25 27 29 31 33 35 37

What is the sequence for N =6

Similar questions