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 o
to 5, the algorithm produces the following sequences of numbers
as outputs:
N
output
0
1
2
-103
3
-4-3 0 5 12 21
-9-8-5 0 7 16 27 40 55
-16 -15 -12 -7 0 9 20 33 48 65 84 105
-25 -24 -21 -16 -9 0 11 24 39 56 75 96 119 144 17
4
5
Determine the algorithm that was used to generate the numbers in
this table, and
1. Write it down.
2. Execute it for N = 6, and write down your result
What is the sequence of numbers for N = 6?
(Give your answer as integers separated by single spaces.)
Answers
Answered by
2
Answer:
there are 3*N numbers in the row
Explanation:
-36 -35 -32 -27 -20 -11 0 13 28 45 64 85 108 133 160 189 220 253
Hope it helps...
Please mark me as the brainliest
Similar questions