Skip to content
Vamshi Jandhyala

Books · The Fiddler: Solutions

Chapter 42

Can You Canoodle at the Coldplay Concert?

At a Coldplay show, the camera operators put 1%1\% of the couples on the jumbotron, chosen at random (and never the same couple twice in one show). You and your partner canoodle for half of every concert. How many shows can the two of you attend while keeping your chance of ever being caught canoodling below 50%50\%?

The Fiddler, Zach Wissner-Gross, August 8, 2025(original post)

Solution

In one show the chance of being shown is 1%1\%, and you are canoodling half the time, so the chance of being caught is 0.01×0.5=0.0050.01\times0.5=0.005. Over NN independent shows the chance of never being caught is 0.995N0.995^{N}, and you want this to stay at or above 12\tfrac12: 0.995N12Nln2ln0.995=138.28,0.995^{N}\ge\tfrac12\quad\Longleftrightarrow\quad N\le\frac{\ln 2}{-\ln 0.995}=138.28\ldots, so the most shows you can attend is 138\boxed{138}.

The computation

Accumulate the survival probability show by show (0.9950.995 each) and take the largest NN for which it still sits at or above 12\tfrac12.

print(max(N for N in range(1, 400) if 0.995**N >= 0.5))   # 138

Extra Credit

Suppose instead each couple canoodles for a fraction of the show equal to aba\cdot b, where aa and bb are independent uniform [0,1][0,1] values, one per partner. The operators only show couples currently canoodling, and pick them with probability proportional to how much they canoodle. What fraction CC of the show do the couples that appear most often on the jumbotron spend canoodling?

Solution

The canoodling fraction f=abf=ab has density g(f)=lnfg(f)=-\ln f on (0,1)(0,1). Weighting by appearance (proportional to ff) makes the on-screen density f(lnf)\propto f\,(-\ln f), and ddf[flnf]=lnf1=0C=1e0.368.\frac{d}{df}\bigl[-f\ln f\bigr]=-\ln f-1=0\quad\Longrightarrow\quad C=\frac1e\approx\boxed{0.368}. (The source value is paywalled; this closed form is my own.)

The appearance-weighted density f(lnf)f(-\ln f) peaks at the canoodling fraction C=1/eC=1/e.

The computation

Build the appearance-weighted distribution empirically: draw millions of couples with f=abf=ab, histogram them weighted by ff (their on-screen likelihood), and read off the peak.

import numpy as np
from math import e
rng = np.random.default_rng(0); f = rng.random(6_000_000)*rng.random(6_000_000)
h, edg = np.histogram(f, bins=300, range=(0, 1), weights=f)   # weight by appearance ~ f
print(round((edg[:-1] + edg[1:])[np.argmax(h)]/2, 4), round(1/e, 4))   # ~0.368, 1/e