|
|
| Keep It Simple, Stupid | |
| PerlMonks |
RE: Re: Recursionby FouRPlaY (Monk) |
| on Nov 14, 2000 at 20:11 UTC ( [id://41649]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
Are you thinking of the sum of the first N natural numbers? I've heard the legend/story that he (Guass) came up with this when he was somewhere between 10 and 15 years old (for the record, I might have come up with this when I was 10, but cartoons were more interesting than math then). Anyway, it's S=N*(N+1)/2 FouRPlaY Learning Perl or Going To Die Trying
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||