# 【Puzzle】抽屉中的袜子

|

【对算法，数学，计算机感兴趣的同学，欢迎关注我哈，阅读更多原创文章】

# 问题描述

## The-Sock-Drawer

A drawer contains red socks and black socks
When two socks are drawn at random, the probability that both are red is 1/2

a. How small can the number of socks in the drawer be?
b. How small if the number of black socks is even?

a. 抽屉里的袜子最少有多少只
b. 如果黑袜子为偶数只，则抽屉里的袜子最少有多少只

Share