I am very sorry since this is the first time I am here and I unsure how to type any math.
Anyway.
The sum of all numbers to any n is (n^2+n)/2, and I divided that by n to get the average at that point.
And, the sum of all numbers at n-1 ((n-1)^2+n-1)/2, and I divided that by n-1 to the get the average at n-1. Then I just added + n, and divided by 2. However, I am not getting the same answer as just taking the average of the sum of all the numbers to a number n.
Hope my question made sense, and someone can explain why the 2 are not equal.
$
before and after your LaTeX to get it to display properly – Henry Jun 26 '22 at 00:33$
before and after using$((n^2+n)/2)/n= (n^3+n^2)/2$
would give $((n^2+n)/2)/n= (n^3+n^2)/2$ that that is incorrect. In fact $\dfrac{\left(\frac{\left(n^{2}+n\right)}{2}\right)}{n} = \dfrac{\left(n^{2}+n\right)}{2n}= \dfrac{\left(n+1\right)}{2}$ Try it with $n=3$ or something else – Henry Jun 26 '22 at 00:43