[prev in list] [next in list] [prev in thread] [next in thread] 

List:       debian-devel
Subject:    Re: Stupid Arithmetic Tricks
From:       Erich Schubert <erich () debian ! org>
Date:       2002-03-30 9:53:41
[Download RAW message or body]

> A little knowledge of series tells me to apply n*(n+1)/2 to sum an arithmetic
> progression of common difference 1, starting at 1.  This seems even quicker:
> 100*101/2 becomes 5*101*10 becomes 505*10 = 5050.

Yep, but you aren't teached these formulas when in primary school you
just learned adding and summation... the teacher was said to have
expected his pupils to need the whole lesson for doing this calculation.
And Gauss was born 1777, and he really surprised his teacher by then,
presenting the solution that fast ;)

BTW: I just checked: gauss added 1+100, 2+99 etc. and got directly to
the calculation 101*50 ;)

Greetings,
Erich


-- 
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic