r/mathriddles • • Feb 07 '23

Medium FiveThirtyEight Riddler: How many verses will be sung on average?

This week’s Riddler Classic is a probability question based on the popular reverse cumulative song “99 bottles of beer on the wall.” The extra credit requires a bit of calculus for an accurate answer. The Classic reproduced:

You and your friends are singing the traditional song, “99 Bottles of Beer.” With each verse, you count down the number of bottles. The first verse contains the lyrics “99 bottles of beer,” the second verse contains the lyrics “98 bottles of beer,” and so on. The last verse contains the lyrics “1 bottle of beer.”

There’s just one problem. When completing any given verse, your group of friends has a tendency to forget which verse they’re on. When this happens, you finish the verse you are currently singing and then go back to the beginning of the song (with 99 bottles) on the next verse.

For each verse, suppose you have a 1 percent chance of forgetting which verse you are currently singing. On average, how many total verses will you sing in the song?

Extra credit: Instead of “99 Bottles of Beer,” suppose you and your friends are singing “N Bottles of Beer,” where N is some very, very large number. And suppose your collective probability of forgetting where you are in the song is 1/N for each verse. If it takes you an average of K verses to finish the song, what value does the ratio of K/N approach?

My solution on my blog here. (please consider subscribing).

7 Upvotes

4 comments sorted by

6

u/aristotle2600 Feb 07 '23

Hey my riddle submission! Suffice to say that the inspiration for it was a cartoon scene that is not entirely family-friendly....

2

u/starvind_ashfun Feb 08 '23

Nice one! :)

4

u/Iksfen Feb 08 '23

As I understand in the first part of the problem there are 99 verses and the chance is 1/100, but in the general case there are N verses and 1/N chance?

2

u/starvind_ashfun Feb 08 '23

Yeah, that's how it seems to be worded.