All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Just Math
Endless Summer (Posted on 2003-10-20) Difficulty: 2 of 5
Suppose that the song "99 Bottles of Beer on the Wall" was sung from beginning to end.

What would be the sum of all the numbers (including repeats, of course) in the song?

Then, suppose you have some arbitrary number n bottles, which you would like to sing about. Find a formula in terms of n for the sum of all the numbers you will be singing.

See The Solution Submitted by DJ    
Rating: 4.0000 (9 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
Solution an answer | Comment 7 of 9 |
The sum of all the numbers would be 14,751 by using the equation given in the next part.

An equation for n bottles would be: (2n)+(3(n-1))+(3(n-2))+(3(n-3))+(3(n-4))...(3(n-(n-1)))+(3(n-(n-0)))
because one only counts the first number of bottles twice and then each ensuing number of bottles three times:
e.g. "99 bottles of beer on the wall, 99 bottles of beer.  Take one down, pass it around, 98 bottles of beer on the wall.  98 bottles of beer on the wall, 98 bottles of beer..."

  Posted by logischer Verstand on 2004-03-21 22:54:44
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (5)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information