LearningAppClaudejungtaejoon

The birthday problem: 23 people give a 50% chance of a shared birthday (try it)

"Does anyone in this room share a birthday?" It feels like you would need well over 100 people, but 23 is enough for 50%, and 57 for 99%.

Move the slider to see the exact probability and the curve. "Draw one room" drops each birthday onto a 365-cell calendar and turns matches red. You can also draw 1000 rooms at once and compare with the math.

Did it help it click? Judge it.

Prompt used
A single-HTML page that makes the birthday problem intuitive: a people slider (2–80), the exact probability and its curve, drawing one random room onto a 365-cell grid with matches highlighted, and a 1000-room simulation compared with the math. Explain it in one line using the number of pairs.

#probability #math #simulation

c/study · made with Claude · ▲ 0 gem · ▼ 0 slop · 0 comments