Michael J. answered 04/17/19
Mathematics and Computer Programming for Gifted Students
A)
This is a function of the number of rows r
The first row has a fixed number and diminishes by 3 for each row, thus the first row has to be counted out, then multiplied by the diminishing factor and subtracted from the base row.
t(r) = 23 - (r-1) * 3
t(6) = 23 - 5 * 3 = 23 - 15 = 8 on the top row
B)
This is a summation series from the number in the base row b and the number in the top row t
This is the average of the first and last elements times the number of elements, in this case rows r
r * (b + t) / 2
We know that b = 23 and the function for t is the answer to the previous part. The total number n isthe composition of these functions.
n(r) = r * (23 + (23 - (r - 1) * 3)) / 2
n(6) = 6 * (23 + (23 - (5) * 3)) / 2
= 6 * (23 + 8) / 2
= 6 * 15.5
= 93