Birthday Probability

Birthday Probability 生日概率

100 人的班级,生日出现相同的概率几乎是 100%

第 1 个人的生日可以是 365 天中的任意一天,概率为 365/365​

第 2 个人的生日必须与第 1 个人不同,概率为 364​/365​

第 3 个人的生日必须与前 2 个人不同,概率为 363​/365​

第 100 个人的生日必须与前 99 个人不同,概率为 (365−99)​/365=266​/365

365/365 * 364/365 * 363/365 * ..... 266/365

365 * 364 * 363 * ......266 / 365^100

0.00000047 ; 1 - 0.000 000 47 = 0.999 999 63

0.00000030724892785157735708739056169413615179821733

0.999999693

人数为 23 人时,存在相同生日的概率就已经超过 50%

当人数达到 50 人时,概率已超过 97%

人数达到 100 人时,概率几乎是 100%

相关推荐
spencer_tseng5 天前
Count the matches 13805029595
math·homework
爱听歌的周童鞋9 天前
斯坦福大学 | CS336 | 从零开始构建语言模型 | Spring 2025 | 笔记 | Assignment 5: SFT Implement
llm·sft·math·assignment·cs336·expertiteration
Physicist in Geophy.1 个月前
从矩阵到函数(算子理论)
矩阵·math
spencer_tseng2 个月前
3 + 3^2 + ... + 3 ^ 2026
math
Physicist in Geophy.2 个月前
挂谷猜想--germini
math
Physicist in Geophy.2 个月前
sat 求解器
math
Code Talk3 个月前
VS Code markdown preview 与 github markdown渲染数学公式中的“_”不一致的问题
github·markdown·math
spencer_tseng3 个月前
29a + 30b + 31c = 366
math·homework
spencer_tseng4 个月前
x^3 - 3x + 1 = 0
math