I have a dilemma
Lets take the set $\{1, 2, 3, 4, 5, 6, 7, 8, 9\}$
If we wanted to calculate the average of this set we would add up all the numbers in the set $(45)$ and then divide by the total number of items in the set $(9)$ and arrive at the correct average of $5$
What happens if we are not given the full set? What if we are only given one number at a time and have to calculate the correct average?
For instance if we are given $1$ we know the average is $1$, then if we are given $2$ then we add $1+2$ and get $3$, then divide $3$ by $2$ and arrive at the correct average of $1.5$.
Then what if we are given the next number $3$ we would add $1.5$ and $3$ giving $4.5$ and divide that by $2$ arriving at $2.25$ which is incorrect since $1+2+3=6$ and $6/3=2$.
Is there a way of calculating the correct total average like this?