Maynard's paper 'Primes and Polynomials With Restricted Digits' proved by the Hardy-Littlewood circle method that for every integer base and every digit there are infinitely many primes - indeed the expected asymptotic count of primes - whose base- expansion omits , with analogues for values of integer polynomials of degree (base ) and for excluding several digits (, or for consecutive excluded digits). The paper itself records that these ranges are far from optimal: it conjectures the single-digit result holds for every base , and anticipates that bilinear (Type I/II) sums, Harman's sieve, zero-density estimates and stronger Weyl-sum bounds would push all the ranges much further. The problem is to determine the true quantitative range: the single-digit theorem for the still-open bases and (apart from the trivially obstructed instance of excluding the digit 1 in base 3, where all allowed digits are even), and the conjectured asymptotic formula in base 10, where only the correct order of magnitude is known; the sharp digit-exclusion density thresholds (even two missing decimal digits is open); the base-versus-degree law for polynomial values toward its essentially linear necessary growth; and effective (Siegel-zero-free) error terms. Maynard's own Inventiones 2019 sequel realized part of the anticipated route (base 10; asymptotics for ; exclusion thresholds and ), and no resolution of the surviving core is known.
Background
Every integer has an expansion in an integer base with digits . Fix a digit and remove it from the alphabet: the set of integers whose base- expansion never uses is the standard example of an arithmetically thin set: it has exactly elements below , i.e. about elements below with , so it has zero asymptotic density and no multiplicative structure to exploit. The basic distribution theory of such sets is classical: Konyagin and Erdős-Mauduit-Sárközy proved equidistribution of missing-digit sets in residue classes, and Dartyge-Mauduit showed by sieve methods that the missing-digit set contains integers with at most two prime factors. Whether such a sparse set actually contains infinitely many primes was a well-known open question, part of the broader program on digital properties of primes that includes Gelfond's problem on the sum of digits of primes (solved by Mauduit and Rivat) and Bourgain's theorem that one may prescribe a positive proportion of the binary digits of infinitely many primes; Swaenepoel later handled primes with a positive proportion of preassigned digits in any base.
Prime counts are conveniently weighted by the von Mangoldt function when is a power of a prime and otherwise, which turns 'primes occur with density ' into an exact expected value. The natural conjecture for a single excluded digit is an asymptotic with main term , where the explicit constant (equal to if the digit shares a factor with , and otherwise, with Euler's totient function) records the local congruence information. The source paper - Maynard's 'Primes and Polynomials With Restricted Digits' (preprint 2015, published as Int. Math. Res. Not. 2022) - proved this for all : for every the error is (Theorem 1.1). The proof applies the circle method: the weighted prime count over is rewritten as an integral pairing the Fourier transform of the prime indicator with that of ; frequencies near rationals with small denominator ('major arcs') produce the main term through the distribution of primes in arithmetic progressions, while the complementary 'minor arcs' must be shown to contribute negligibly. That this binary (effectively two-variable) circle method succeeds at all is the surprise: for a generic sparse set one expects only square-root cancellation , which is far too weak. Maynard's key discovery is that the digit-restricted Fourier transform factorizes over digit positions and exhibits better-than-square-root cancellation on average, quantified by the constant (with the explicit constant from the bound for the digit-restricted Fourier transform); the condition - satisfied for by the numerical bound - makes the minor arcs negligible once combined with the classical -type bound for exponential sums over primes.
The paper proves two analogues. Theorem 1.2 concerns polynomial values: if has degree and lead coefficient , and satisfies the necessary local conditions - encoded by a limiting density of compatible -adic digit patterns, computable by Hensel lifting (the lifting of solutions of congruences modulo prime powers) - then equals up to a relative error , provided . This doubly exponential constraint comes from Weyl-differencing bounds for Weyl sums (exponential sums with polynomial phase), which lose factors exponential in the degree. Theorem 1.3 allows several excluded digits: excluding a set of digits, the expected asymptotic holds whenever (distinct digits), or when the excluded digits are consecutive; the exponent reflects the same barrier for prime exponential sums.
The source itself records that none of these ranges is believed sharp, and anticipates the improvements. In its own words: 'a more involved calculation shows that is sufficient by the same method, whilst it appears that the method of bilinear sums, Harman's sieve and zero density estimates all have the potential to show the existence of primes missing digits when the base is noticeably smaller. One might conjecture that the result would remain true for all .' (The literal conjecture has a single degenerate instance: in base , excluding the digit leaves only the even digits and , so every element of the set is even and the only prime in it is ; for every base the allowed digits always contain a digit coprime to and, for every prime , a digit not divisible by , so no local obstruction of this kind arises.) Harman's sieve is a refinement of the combinatorial sieve that replaces unconditional averages over primes by bilinear 'Type I' sums and 'Type II' sums with bounded coefficients, estimated here through the digital Fourier structure; zero-density estimates bound how many zeros a family of Dirichlet -functions can share near . The remarks after Theorems 1.2 and 1.3 similarly anticipate stronger Vinogradov-type bounds for the Weyl sums (in place of Weyl differencing) for the polynomial range, and Type I-II estimates with Harman's sieve for the multi-digit density thresholds. The paper also notes its error terms are ineffective - they depend on constants that could be spoiled by Siegel zeros, i.e. real zeros of Dirichlet -functions exceptionally close to that make primes-in-arithmetic-progression estimates non-uniform - while indicating that, since only highly composite moduli arise, effective replacements of size should be possible.
The anticipated 'noticeably smaller base' program was in fact begun by Maynard himself in a second paper, 'Primes with restricted digits' (Inventiones 2019), which developed exactly the Type I/II plus Harman-sieve route: for every digit there are infinitely many primes with no digit in their decimal expansion, with the correct order of magnitude but not the conjectured asymptotic; the asymptotic formula for one excluded digit holds for ; and for general bases one may exclude up to digits (any excluded set), or, when the excluded set is or , in the wider range , with asymptotic formulae in the sub-ranges and . That paper states explicitly that its methods are 'not powerful enough to show the existence of infinitely many primes with two digits not appearing in their decimal expansion'. Thus the quantitative ranges have been pushed dramatically - and the Harman-sieve route the source anticipated is exactly what worked - but the original conjectural endpoint (every base ) remains unproven for the bases and , the base-10 asymptotic remains open, and the polynomial-degree and effectivity directions of the source remain untouched.
Problem Statement
Determine the true quantitative range of Maynard's digit-restriction theorems for primes and polynomial values - the minimal base, the maximal number of excluded digits, the minimal base-versus-degree law, and effective error terms - matching the conjectural endpoints that the source paper itself articulates. The four components below relax quantitative constraints of one and the same circle-method theorem family and are independent, with the conjecturally correct range for each component as their common objective.
(1) Base range, single excluded digit. Let , , and be the set of integers with no digit in their base- expansion. Write for the von Mangoldt function ( when is a power of a prime , and otherwise) and for Euler's totient function. Prove (or disprove) Maynard's conjecture that for every base and every digit for which is not locally obstructed,
holds for every , where the local constant is if and if . The local obstructions are the instances in which every element of is divisible by some prime from a fixed finite set and hence contains only boundedly many primes: if the allowed digits contain none coprime to , every element shares a prime factor with through its last digit; and if a single prime divides every allowed digit, every element is divisible by that prime. For a single excluded digit the unique obstructed instance with is : the allowed digits are then all even, so every element of is even and the only prime in is ; for every the allowed digits contain a digit coprime to and, for every prime , a digit not divisible by , so no local obstruction arises. Currently the asymptotic is known for and the weaker infinitude/order-of-magnitude statement for ; the open instances are the bases together with the digits in base 3, and the conjectured asymptotic formula in base 10 (only the correct order of magnitude is known there, blocked by missing Type II information).
(2) Multiple excluded digits. Determine the density threshold: for which and which excluded digit sets with does the set of integers using no digit of contain infinitely many primes, and when does the expected asymptotic hold? The statement is subject to the necessary local conditions: the allowed digit set must contain a digit coprime to (otherwise every element of the set is divisible, through its last digit, by some prime dividing , leaving only boundedly many primes), and no prime may divide every allowed digit (otherwise every element is divisible by that prime). Known: infinitude for (any ) and ( or ); asymptotics for and , and in the source paper / . Open: the full characterization for every admissible excluded set with - whether the restricted set contains infinitely many primes, and whether it satisfies the expected asymptotic - conjecturally limited only by the local congruence obstructions and the nondegeneracy condition ; the characterization is asked in particular for the structured ranges and , and for the case of two excluded digits in base . Here "the expected asymptotic" is the multi-digit analogue of the single-digit display in component (1): with the set of integers using no digit of and the number of excluded digits coprime to , it is for every , asserted for ; the degenerate alphabet (a single allowed digit, e.g. and ) has a bounded main term and no such asymptotic is claimed there, and its infinitude question - whether there are infinitely many primes of the form (base- repunits), an unrelated classical problem - is outside this component and is not required. Decide, for every base and every admissible excluded set with and , both of these questions; the largest per base and the extremal excluded sets then follow from that per- decision.
(3) Polynomial values. For a degree- polynomial with lead coefficient and , where
is the limiting density of -adically compatible digit patterns (computable by Hensel lifting, and positive exactly when the local solubility conditions hold), improve the requirement toward the information-theoretic limit: the main term exceeds only once , i.e. roughly , so the conjecturally necessary growth is essentially linear in ; determine how small can be taken as a function of . Determine the correct base-versus-degree law, closing the gap to the conjecturally necessary, essentially linear growth (up to explicitly stated constants).
(4) Effective error terms. Replace the ineffective constants (arising from possible Siegel zeros in the primes-in-arithmetic-progressions input) by explicit effective ones in all regimes of the above theorems (components (1)-(3), corresponding to the source's Theorems 1.1-1.3), as the source indicates should be possible because only highly composite moduli arise. The target error shape is the source's sketched effective for an explicit .
References
- James Maynard, Primes and polynomials with restricted digits, Int. Math. Res. Not. IMRN 2022 (2022), no. 14, 10626-10648, DOI 10.1093/imrn/rnab002, https://doi.org/10.1093/imrn/rnab002; preprint arXiv:1510.07711 (2015), https://arxiv.org/abs/1510.07711
- James Maynard, Primes with restricted digits, Invent. Math. 217 (2019), no. 1, 127-218, DOI 10.1007/s00222-019-00865-6, https://doi.org/10.1007/s00222-019-00865-6; preprint arXiv:1604.01041 (2016), https://arxiv.org/abs/1604.01041
- James Leng and Mehtaab Sawhney, Vinogradov's Theorem for Primes With Restricted Digits, Int. Math. Res. Not. IMRN 2025 (2025), no. 3, DOI 10.1093/imrn/rnae294, https://doi.org/10.1093/imrn/rnae294; preprint arXiv:2409.06894, https://arxiv.org/abs/2409.06894
- Kunjakanan Nath, Primes with a missing digit: Distribution in arithmetic progressions and an application in sieve theory, J. Lond. Math. Soc. 109 (2024), no. 1, DOI 10.1112/jlms.12837, https://doi.org/10.1112/jlms.12837; preprint arXiv:2108.09212, https://arxiv.org/abs/2108.09212
- Kyle Pratt, Primes from sums of two squares and missing digits, Proc. Lond. Math. Soc. (3) 120 (2020), no. 6, 770-830, DOI 10.1112/plms.12307, https://doi.org/10.1112/plms.12307; preprint arXiv:1806.02699, https://arxiv.org/abs/1806.02699
- Cathy Swaenepoel, Prime numbers with a positive proportion of preassigned digits, Proc. Lond. Math. Soc. (3) 121 (2020), no. 1, 83-151, DOI 10.1112/plms.12314, https://doi.org/10.1112/plms.12314
- Ben Green, Waring's problem with restricted digits, Compos. Math. 161 (2025), no. 2, 341-364, DOI 10.1112/s0010437x24007723, https://doi.org/10.1112/s0010437x24007723
- Andrew Granville, Missing digits and good approximations, Bull. Amer. Math. Soc. (N.S.) 61 (2024), no. 1, 23-53 (published electronically October 2023), DOI 10.1090/bull/1811, https://doi.org/10.1090/bull/1811; preprint arXiv:2308.03126, https://arxiv.org/abs/2308.03126
- Mengyao Jing, Huaning Liu and Jingyue Li, Bounds for exponential sums over integers with restricted digits, Ramanujan J. 69 (2026), no. 4, DOI 10.1007/s11139-026-01380-y, https://doi.org/10.1007/s11139-026-01380-y
- Helmut Maier and Michael Th. Rassias, The ternary Goldbach problem with two Piatetski-Shapiro primes and a prime with a missing digit, Commun. Contemp. Math. 25 (2023), no. 2 (published online October 2022), DOI 10.1142/s0219199721501017, https://doi.org/10.1142/s0219199721501017; preprint arXiv:2006.07873, https://arxiv.org/abs/2006.07873
- Kannan Soundararajan, The work of James Maynard, arXiv:2207.03463 (2022), https://arxiv.org/abs/2207.03463
- Jean Bourgain, Prescribing the binary digits of primes, II, Israel J. Math. 206 (2015), no. 1, 165-182, DOI 10.1007/s11856-014-1129-5, https://doi.org/10.1007/s11856-014-1129-5
- Christian Mauduit and Joël Rivat, Sur un problème de Gelfond : la somme des chiffres des nombres premiers, Ann. of Math. (2) 171 (2010), no. 3, 1591-1646, DOI 10.4007/annals.2010.171.1591, https://doi.org/10.4007/annals.2010.171.1591
- Cécile Dartyge and Christian Mauduit, Nombres presque premiers dont l'écriture en base r ne comporte pas certains chiffres, J. Number Theory 81 (2000), no. 2, 270-291, DOI 10.1006/jnth.1999.2458, https://doi.org/10.1006/jnth.1999.2458
- Sergei Konyagin, Arithmetic properties of integers with missing digits: distribution in residue classes, Period. Math. Hungar. 42 (2001), no. 1-2, 145-162, DOI 10.1023/a:1015256809636, https://doi.org/10.1023/a:1015256809636
- Paul Erdős, Christian Mauduit and András Sárközy, On arithmetic properties of integers with missing digits II: Prime factors, Discrete Math. 200 (1999), no. 1-3, 149-164, DOI 10.1016/s0012-365x(98)00331-8, https://doi.org/10.1016/s0012-365x(98)00331-8