The Duffin–Schaeffer conjecture is an important conjecture in metric number theory proposed by R. J. Duffin and A. C. Schaeffer in 1941. It states that if is a real-valued function taking on positive values, then for almost all (with respect to Lebesgue measure), the inequality
has infinitely many solutions in co-prime integers with if and only if the sum