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.
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..."