Join Nostr
2026-05-12 23:48:58 UTC
in reply to

npub12c…gd38p on Nostr: It’s also fun to consider the general case: what is the expected number of throws ...

It’s also fun to consider the general case: what is the expected number of throws of a fair d-sided die until you get a chosen face N times in a row.

Summing an arithmo-geometric series you can prove:

E(d, N) = d + d^2 + d^3 + ... + d^N

But if you just guess this formula from a few cases, it’s then really easy to prove by induction!