04-28-2008 03:27 PM - edited 04-28-2008 03:29 PM
04-28-2008 03:42 PM
04-28-2008 03:45 PM
04-28-2008 03:50 PM
04-28-2008 04:01 PM - edited 04-28-2008 04:03 PM
OK, proof by recursion:
1. The operation is correct for x=1.
2. Check correctness for x+1.
3. The two are equal, so the proof works for x+1 and since it works for x=1, it also works for any other positive integer.
04-28-2008 04:02 PM - edited 04-28-2008 04:10 PM
04-28-2008 04:27 PM
04-29-2008 01:31 AM
Mellobuck wrote:
I refactored it to:sum=(x+1)x*0.5
I don't think that can be considered a mathematical proof, since you only show it on a single number. You have to do it with n and show that it's correct.
Daklu wrote:
Assuming you want to sum all integers between 1-100, a more intuitive proof is...
04-29-2008 02:41 AM - edited 04-29-2008 02:44 AM

04-29-2008 07:36 AM