99 bottles of beer

from Wikipedia, the free encyclopedia

99 Bottles of Beer ( 99 bottles of beer ) is a folk song that in the United States and Canada is sung, particularly for long trips and to the British children's song Ten Green Bottles inspired. It follows the pattern:

Ninety-nine bottles of beer on the wall, (Ninety-nine bottles of beer on the wall , )
Ninety-nine bottles of beer. ( Ninety-nine bottles of beer. )
Take one down, pass it around, (Take one down, pass it around , )
Ninety-eight bottles of beer on the wall. ( Ninety-eight bottles of beer on the wall. )

The third line is an alternative "if One of Those bottles shoulderstand happen to fall" ( one of those bottles should fall ).

The song is repeated with fewer and fewer bottles until this verse:

One (last) bottle of beer on the wall, ( Eine (last) bottle of beer on the wall, )
One (last) bottle of beer.

Take it down, pass it around,
No (more) bottles of beer on the wall. ( No bottles of beer (anymore) on the wall. )

variants

To lengthen the singing time, the song can be supplemented with:

No (more) bottles of beer on the wall,
No (more) bottles of beer.
Go to the store and buy some more ( go to the store and buy more )
Ninety-nine bottles of beer on the wall.

Donald Byrd has collected dozens of variations of the song that are mathematically inspired and devised by himself and others. Byrd attributes educational and entertaining value to the collection. Including:

  • "Infinite bottles of beer on the wall": If a bottle falls over, there will still be an infinite number of them.
  • " Aleph-Null bottles of beer on the wall": Aleph-Null is the smallest infinite cardinal number as the power of natural numbers.
  • "Uncountable bottles of beer on the wall" ( uncountable many bottles of beer): Fallen countable number of bottles around, there still remain many uncountable.

References in science

Donald E. Knuth proved in the article The Complexity of Songs (a scientific joke ) that the song has a complexity of .

Similar to the Hello World program , text is also often programmed in order to learn or emphasize special features of a programming language . The challenge here is to program a loop that counts backwards from 99 to 0, taking into account exception handling for the singular at 1 as well as the corresponding number word for 0 and the modified text. In addition, the embedding of the numbers in a character string to be output is of interest.

Individual evidence

  1. Tim Nyberg: 99 Bottles of Beer on the Wall - The Complete Lyrics . ISBN 978-0-7407-6074-7
  2. Donald Byrd: Infinite Bottles of Beer: Mathematical Concepts with Epsilon Pain, Or: A Cantorial Approach to Cantorian Arithmetic and Other Mathematical Melodies
  3. 99-bottles-of-beer.net 99 Bottles of Beer in 1500 programming languages