Self-reference 1999 computations preserved from deletion by att worldnet's demise. Note: singletons are moved as far forward in the alphabet as possible below. Thus sentences with a z are also pangrams. Computations were done with binary decision diagrams (BDD's). Public domain, distribute freely with or without attribution.

Monday, January 4, 2010

Self-Referential Sentences: Beer 97

Self-referential ``Ninety seven bottles of beer'' sentences, exhaustive list - there are no others.


1. Ninety seven bottles of beer, three a's, three b's, two d's, thirty e's, six f's, three g's, eight h's, nine i's, four l's, fifteen n's, eight o's, seven r's, twenty seven s's, twenty t's, two u's, seven v's, seven w's, two x's, and five y's on the wall.

2. Ninety seven bottles of beer, three a's, three b's, two d's, thirty one e's, six f's, two g's, seven h's, nine i's, four l's, eighteen n's, ten o's, nine r's, twenty seven s's, seventeen t's, four u's, six v's, five w's, three x's, and four y's on the wall.

3. Ninety seven bottles of beer, three a's, three b's, one c, two d's, forty one e's, six f's, three g's, seven h's, eleven i's, one j, one k, five l's, one m, twenty two n's, sixteen o's, one p, one q, six r's, twenty seven s's, eighteen t's, one u, eight v's, six w's, five x's, five y's, and one z on the wall.

4. Ninety seven bottles of beer, three a's, three b's, one c, two d's, thirty e's, eight f's, four g's, eight h's, twelve i's, one j, one k, six l's, fourteen n's, twelve o's, nine r's, twenty five s's, eighteen t's, five u's, six v's, six w's, four x's, and four y's on the wall.

5. Ninety seven bottles of beer, three a's, three b's, one c, two d's, thirty eight e's, seven f's, three g's, nine h's, twelve i's, one j, one k, five l's, one m, twenty two n's, fifteen o's, one p, one q, eight r's, twenty five s's, twenty four t's, two u's, six v's, nine w's, three x's, six y's, and one z on the wall.

6. Ninety seven bottles of beer, three a's, three b's, one c, two d's, thirty five e's, six f's, three g's, nine h's, thirteen i's, one j, one k, five l's, one m, eighteen n's, eleven o's, eight r's, twenty six s's, twenty t's, two u's, seven v's, six w's, four x's, and five y's on the wall.

7. Ninety seven bottles of beer, three a's, three b's, one c, two d's, thirty one e's, six f's, one g, seven h's, ten i's, one j, one k, four l's, one m, twenty n's, thirteen o's, nine r's, twenty five s's, twenty t's, three u's, five v's, six w's, four x's, and six y's on the wall.

8. Ninety seven bottles of beer, three a's, three b's, one c, two d's, thirty seven e's, six f's, one g, five h's, eleven i's, one j, one k, six l's, one m, twenty n's, twelve o's, one p, one q, five r's, twenty six s's, seventeen t's, ten v's, six w's, five x's, and five y's on the wall.

9. Ninety seven bottles of beer, three a's, three b's, one c, two d's, thirty six e's, seven f's, three g's, nine h's, ten i's, one j, one k, five l's, eighteen n's, eleven o's, ten r's, twenty five s's, eighteen t's, four u's, six v's, four w's, three x's, and four y's on the wall.

10. Ninety seven bottles of beer, three a's, three b's, one c, two d's, thirty three e's, six f's, two g's, seven h's, ten i's, one j, one k, five l's, nineteen n's, twelve o's, nine r's, twenty seven s's, eighteen t's, four u's, six v's, six w's, four x's, and four y's on the wall.

11. Ninety seven bottles of beer, three a's, three b's, one c, two d's, thirty two e's, seven f's, two g's, six h's, ten i's, one j, one k, four l's, one m, twenty four n's, nineteen o's, one p, one q, nine r's, twenty six s's, twenty one t's, five u's, four v's, eight w's, four x's, six y's, and one z on the wall.

12. Ninety seven bottles of beer, three a's, three b's, one c, two d's, thirty two e's, six f's, two g's, nine h's, ten i's, one j, one k, four l's, nineteen n's, thirteen o's, ten r's, twenty three s's, twenty five t's, three u's, four v's, eight w's, two x's, and five y's on the wall.

13. Ninety seven bottles of beer, three a's, three b's, one c, two d's, twenty nine e's, six f's, two g's, six h's, ten i's, one j, one k, four l's, one m, twenty n's, fourteen o's, eight r's, twenty six s's, twenty two t's, four u's, three v's, nine w's, five x's, and six y's on the wall.

14. Ninety seven bottles of beer, three a's, three b's, one c, two d's, twenty six e's, eight f's, two g's, six h's, thirteen i's, four l's, fifteen n's, ten o's, six r's, twenty six s's, twenty two t's, two u's, five v's, nine w's, five x's, and five y's on the wall.

1 comment:

Followers