hi everyone,
This isn't an OG question but as I was reviewing my index cards a thought occurred to me and I wanted to make sure about it.
Say for instance we're asked to find the Sum of all multiples of 4 between 0 and 100.
I know one method is to find the (average) * (number of multiples between 0-100) = total sum
But is the average (0+100)/2? OR is it (4+100)/2? It's the former, correct? Since 0 is a multiple of every number?
Furthermore, the number of multiples is ((100-0)/4)+1 right? I'm getting myself a little confused as this thought never occurred to me.
This isn't an OG question but as I was reviewing my index cards a thought occurred to me and I wanted to make sure about it.
Say for instance we're asked to find the Sum of all multiples of 4 between 0 and 100.
I know one method is to find the (average) * (number of multiples between 0-100) = total sum
But is the average (0+100)/2? OR is it (4+100)/2? It's the former, correct? Since 0 is a multiple of every number?
Furthermore, the number of multiples is ((100-0)/4)+1 right? I'm getting myself a little confused as this thought never occurred to me.














