Re: maths problem for DS
This is what I came up with: (in white)
<font color="white">
1 | *1
2 | *1.5
3 | *2
4 | *2.5
5 | *3
6 | *3.5
7 | *4
8 | *4.5
9 | *5
10 | *5.5
11 | *6
and goes on forever...
That means that n plus all the numbers before it = n [(n/2) + 0.5]
So for example the sum of
1+2+3+4+5+6+7+8+9+10 = 10 * [(10/2) + 0.5)
= 10 * 5.5
= 55 </font>
|