Skip to content
m·amathatlas
ExploreAboutOpen problemsCited authorsMy libraryFeedback
Sign in
FRENES
Loading views…Recent views only, across all languages. Vercel history is unavailable for this page. Repeat visits in the same tab are grouped for 30 minutes.
ShareLinkedInXFacebookWhatsApp
← All open problems
Unanswered question

Optimal rule for multiple stopping times for defect finding

Probability & statistical mechanics

Imported on November 28, 2026

The forum classified this question as unanswered when collected. This does not certify an open research problem; check the answers and revision history at the source.

Read the question with its definitions and background below. The source provides the full formulation and further discussion; the glossary and Wikipedia links offer additional reading aids.

Problem statement

Suppose a quality inspector is inspecting bbb black amongst which dBd_BdB​ are known to be defective and www white gadgets amongst which dWd_WdW​ are known to be defective. The gadgets come down along an assembly line one by one in uniformly distributed random order. As each gadget passes, the inspector observes its color, and he chooses to let the gadget pass or use a device to detect whether the gadget is defective. But he can only use the device a total of nnn times. What is the optimal stopping rule to use the inspecting device to maximize the expected number of defective gadgets found.

Edit: As fedja points out below, there is a difference between detecting a defect by the device and deducing for sure by logic a defect. Both are legitimate objectives. The solution to the first is easier than that to the second. I for now choose the first definition, i.e., to define finding a defective gadget as only indicated by the device and use up one quota of using the device even if the quality inspector is sure by logic alone the gadget under inspection is defective.

Suppose at a pass the number of black gadgets already inspected by the device is iBi_BiB​, amongst them fBf_BfB​ are detected to be defective. Suppose the current passing gadget is black and yet to be inspected. Then the probability of this black gadget being defective is pB=dB−fBb−iBp_B=\frac{d_B-f_B}{b-i_B}pB​=b−iB​dB​−fB​​. Symmetrical probability holds for if the current passing gadget is white.

I have a conjecture for the explicit solution, which is a greedy algorithm, as follows and am seeking a proof.

At a pass of the gadget, without loss of generality, suppose the current gadget which has not yet been inspected is black. Suppose there are nBn_BnB​ black including the current one and nwn_wnw​ white gadgets left. Suppose iBi_BiB​ black and iWi_WiW​ white gadgets have been inspected, amongst which fBf_BfB​ black and fWf_WfW​ have been found to be defective. If pB≥pWp_B\ge p_WpB​≥pW​ or nW=0n_W=0nW​=0 the inspector inspect the current black gadget with the device. Otherwise, the inspector let the current black gadget pass without inspection.

I have set up the dynamic programming formulation but fail to see either the proof or a counterexample to my conjecture.

Statement and context adapted from MathOverflow · Hans

CC BY-SA 4.0 · Formatting adapted; mathematical formulas preserved · Source history

Topics : stochastic-processes · oc.optimization-and-control · combinatorial-optimization

Authors listed by the source : Hans

Sources and original status

  • MathOverflow Status in source : unanswered at collection

Last activity on the question : October 8, 2026

Coverage, sources and method

This count measures imported entries, including distinct variants. It is not a count of all open mathematical questions worldwide. One entry may belong to several fields and sources.

This directory is neither exhaustive nor updated in real time. “Reported open” describes the source classification observed at import; imported entries have not each undergone independent mathematical verification. The 32 explained entries were reviewed separately.

Formal Conjectures: only “research open” statements with no reported formal proof are retained; their tag is checked in a pinned repository revision. Variants remain distinct. A “sorry” placeholder is not sufficient to establish open status.

Erdős: solved or independent problems and entries with a Lean solution are excluded, including “open (Lean)”. Exact matches to the main Formal Conjectures statements are merged.

Open Problem Garden: the open index is checked against the solved index; spam, identified clones and some outdated statuses are excluded. Statements and definition context are attributed to their original pages; formulas are preserved and the content remains under the GFDL. Recognized duplicates across sources are merged; this does not resolve every mathematical equivalence.

OEIS: direct extraction of conjectural comments and formulas, one entry per sequence, excluding mentioned resolutions. MathOverflow and Math Stack Exchange: questions classified as unanswered by their API, excluding closed posts and non-research categories. They remain distinct from problems reported open. This is a partial, dated collection; every entry credits its authors and license.

Documented exclusions account for recent announcements and conflicting statuses. A stronger variant or a special case can remain open after a different statement is settled.

Attribution: The Formal Conjectures Authors; teorth/erdosproblems and contributors; Open Problem Garden and contributors. Each source retains its license.

  • Formal Conjectures · 1,924 · Apache-2.0 / CC-BY-4.0
  • Erdős Problems (teorth) · 622 · Apache-2.0
  • Open Problem Garden · 404 · GFDL (source content); only title/category/link metadata imported
  • OEIS · 18,857 · CC BY-SA 4.0
  • MathOverflow · 19,035 · CC BY-SA (version on each entry)
  • Mathematics Stack Exchange · 35 · CC BY-SA (version on each entry)
Report a development or correction
mathatlas

An independent atlas to understand, read, and question research.

The papers present claimed results at different stages of verification.
NewsletterShare feedbackAbout Data and privacy
Created by Sonny Mupfuni