Range of Numbers with Digit Product 96

Numbers with digit product ninety six is a medium quant interview question on Brain Teasers, reported to have been seen at Jane Street.

Difficulty Medium Topic Brain Teasers Reported at Jane Street

MyQuantPartner is not affiliated with, endorsed by, or sponsored by these companies, and all trademarks belong to their respective owners.

This quant brainteaser is about encoding a fixed multiplicative structure into decimal digits. You work within the restriction that only certain digits are allowed, and that each digit must contribute to a common product. The twist is that the count and order of digits control the size of the resulting integer, so combinatorics and number structure interact with positional value in base ten.

It trains factorization skills, discrete optimization over digits, and comfort with reasoning under digit constraints, all central to strong quant prep. You practice mapping a product to admissible components, comparing competing constructions, and enforcing extra rules that change which patterns are feasible. It also sharpens intuition about how local digit choices influence global magnitude.

This matters for quant interviews because roles at top trading firms expect fast, precise reasoning about structured search spaces. Problems like this mimic designing optimal encodings or payoffs under tight constraints. You need to quickly navigate combinatorial possibilities, discard impossible configurations, and justify why an extreme configuration is truly optimal. This blend of arithmetic fluency, discrete math, and optimization thinking shows up constantly in quant interviews, trading logic, and model design.

What it tests

When a problem asks for numbers whose digits multiply to a fixed product, the core idea is to factor the target product into primes and then group these primes into allowable digits (2 through 9). The structure comes from the fact that each digit can only represent certain combinations of prime factors, and the goal is to use as few digits as possible (for the smallest number) or as many small digits as possible (for the largest). This is because larger digits correspond to more compact groupings of prime factors, which minimize the number of digits and thus the value of the number when sorted in ascending order. The pattern holds because the decimal system's digits are limited, so the only way to represent large products is to combine factors into the largest allowable digits without exceeding 9.

Practise this question with written feedback, or hear it in a spoken mock interview.

Get started free