In the prior lecture we have shown how Gauss solved the problem of
finding the sum 1+2+3+ ... +100.
In Gauss solution we reduce the problem of finding the sum of different natural numbers to
the problem of finding the sum of 50 equal numbers. It is very natural in mathematics
to generalized concepts and results. A natural small generalization of the prior
result will be to
Find the sum 1+2+3+ ... +n.
Buying books for yourself at amazon.com using the links in Recommended Books will help us produce better programming!
Thanks for your support!