Techniques, plus a number from 1 to .... anything.
Let's see if the problem is what to do.
1+2+3+4+5+.......+10 = ?
1+2+3+4+5+.......+21 = ?
The problem and asking if the two will be calculated one by one would take several minutes.
The numbers 1 to 100 is very time consuming.
But we have to think quickly and easily as follows.
From equation (1) M is the last value or maximum value.
And.
The first of. Instead of equation (1) as follows.
Second, the problem is. It can be used in equation (1) as well.
But it may be difficult to calculate. It is strongly recommended to use equation (2) as follows.
The second of. Instead of equation (2) as follows.
Recommendations.
* If the last number that was used in equation (1).
** If the last number is odd, use equation (2).
However, the equation (1) and (2) When will the new arrangement.
Which is both even and odd numbers.
ไม่มีความคิดเห็น:
แสดงความคิดเห็น