Products of consecutive composite integers as perfect powers (ℓ ≥ 3): uniquely 4 · 6 · 8 · 9 = 12³

Visual overview from the paper. Full size
Edition 6 · On this site since · last revised · Verify & co-author
Kind
Theorem (pure-kernel Lean 4 formalization of all 7 of 7 main results; 4 hypothesis-free, 1 conditional on (H1)–(H5), 2 conditional solely on 7 cited literature theorems; zero compute certificates)
Status
Proved: all 7 of 7 main results (8 of 8 proved abstract claims; 16 of 16 proved claims overall; 0 written-only; 0 certificate-only) verified in pure-kernel Lean 4.35 + Mathlib (ConsecutiveComposites.VerifyDraft2, 385 audited public theorems across 30 source files, zero sorry, zero native_decide, standard axioms only), with 4 main results completely hypothesis-free, 1 conditional on (H1)–(H5), and 2 (Theorem 1 and Proposition 7) conditional solely on AtomicLiteratureHyp (7 published theorems not yet in Mathlib) with zero external compute certificates; Palomar v2 registers all 18 compared statements (385 theorems, including PaperLemmasComplete.lean); unrefereed
Headline in Lean
All 7 of 7 main results (8 of 8 proved abstract claims; 385 public theorems) are proved in pure-kernel Lean 4 with zero external compute certificates: 4 unconditionally, 1 conditional on (H1)–(H5), and 2 (Theorem 1 and Proposition 7) conditional solely on 7 cited literature theorems not yet in Mathlib (AtomicLiteratureHyp).
Lean share
4 of 7 main results in Lean (57%) · 8 of 8 abstract claims (100%) · 16 of 16 all paper claims (100%); 0 of 7 main results remain written-only or certificate-only; all 7 of 7 main results (8 of 8 proved abstract claims; 16 of 16 proved claims overall) are proved in pure-kernel Lean 4.35 + Mathlib with zero external compute certificates: 4 are completely hypothesis-free, 1 (Theorem 3) is conditional on Phase45BaseHyp ((H1)–(H5)), and 2 (Theorem 1 and Proposition 7) are conditional solely on AtomicLiteratureHyp (7 published analytic and Diophantine theorems not yet in Mathlib). Two open conjectures (uniqueness of the square [14, 21] and arbitrary-span rough-deleted windows) remain open.
Registry
PALOMAR-2026-11-28-000108 (Palomar Registry, v2, mechanical Lean check and automated editorial review; 4 of 7 unconditional main results compared in full (57%), plus 3 conditional; v2 compares all 18 statements (385 theorems, all 7 of 7 main results, all 8 of 8 proved abstract claims, and Lemmas 15–17 in PaperLemmasComplete.lean; 4 hypothesis-free, 1 on (H1)–(H5), 2 on AtomicLiteratureHyp))
Cited in
Wolfram MathWorld: Perfect Power (Eric W. Weisstein, updated 2026-11-30)
Prior work
Not found in the searches logged; 4 · 6 · 8 · 9 = 12³ was already listed by Saradha and Shorey (2008, Corollary 2) for two omitted terms, and 14 · 15 · 16 · 18 · 20 · 21 = 5040² by Mukhopadhyay and Shorey (2004, eq. (11)); ℓ = 2 uniqueness stays open
On this page
  1. The statement
  2. Check it yourself
  3. Status and who checked it
  4. Prior work
  5. Further reading

The statement

Erdős and Selfridge (1975) proved that a product of two or more consecutive positive integers is never a perfect square, cube, or higher power. What happens when the primes are skipped and only consecutive composite integers 4,6,8,9,10,12,…4,\allowbreak 6,\allowbreak 8,\allowbreak 9,\allowbreak 10,\allowbreak 12,\allowbreak \dots are multiplied?

Two examples appear immediately:

4⋅6⋅8⋅9=1728=123,14⋅15⋅16⋅18⋅20⋅21=25,401,600=50402.4 \cdot 6 \cdot 8 \cdot 9 = 1728 = 12^3, \qquad 14 \cdot 15 \cdot 16 \cdot 18 \cdot 20 \cdot 21 = 25,401,600 = 5040^2.

The cube is the fourth compositorial number a(4)a(4) (OEIS A036691) and was already listed by Saradha and Shorey (2008, Corollary 2) among perfect powers formed by omitting two terms from consecutive integers; the square was likewise listed by Mukhopadhyay and Shorey (2004, eq. (11)). Unlike fixed-omission problems, a composite block [a,b][a,\allowbreak b] of span k=b−a+1k = b - a + 1 omits every prime inside it—a number of omitted terms that grows like k/log⁡kk / \log k.

Main results (all 7 of 7 in pure-kernel Lean 4; 0 written-only, 0 certificate-only).

  • Classification for ℓ≥3\ell \ge 3 (Lean 4, conditional solely on 7 cited literature theorems): For composite integers a<ba < b and any integer ℓ≥3\ell \ge 3, the product P(a,b)P(a,\allowbreak b) of all composite integers in [a,b][a,\allowbreak b] is a perfect ℓ\ell-th power if and only if a=4a = 4, b=9b = 9, and ℓ=3\ell = 3. Proved inside Lean 4's pure kernel (theorem1_unique_composite_power_from_literature) solely from AtomicLiteratureHyp, with zero external compute certificates.
  • Machine-checked reduction (Lean 4, conditional on (H1)–(H5)): Lean 4 derives the complete classification (and its interval form for [u,v][u,\allowbreak v] with 2≤u≤v2 \le u \le v containing at least two composites, giving u∈{2,3,4}u \in \{2,\allowbreak 3,\allowbreak 4\}, v=9v = 9, ℓ=3\ell = 3) from five explicit hypotheses (H1)–(H5): (H1) a>kℓa > k^\ell for (a,b)≠(4,9)(a,\allowbreak b) \ne (4,\allowbreak 9); (H2) no cube block other than (4,9)(4,\allowbreak 9); (H3) k≤2184k \le 2184 for fourth powers; (H4) 9≤k≤3189 \le k \le 318 and q≤109q \le 109 for prime q≥5q \ge 5; and (H5) no fourth power at span 44.
  • Finite-box exclusion for rough-deleted windows (Lean 4, no external hypothesis): For all 10,65810,\allowbreak 658 pairs (q,k)(q,\allowbreak k) with q=4q = 4, 5≤k≤21845 \le k \le 2184 (2,1802,\allowbreak 180 spans) or prime 5≤q≤1095 \le q \le 109, 5≤k≤3185 \le k \le 318 (8,4788,\allowbreak 478 pairs), every m>kqm > k^q, and every interior subset T⊆[m+1,m+k−2]T \subseteq [m + 1,\allowbreak m + k - 2] with no prime factor below kk, the remaining product ∏x∈[m,m+k−1]∖Tx\prod_{x \in [m, m+k-1] \setminus T} x is never a perfect qq-th power.
  • Signed-combination packing bound (Lean 4, no external hypothesis): For ℓ≥3\ell \ge 3, k≥2k \ge 2, and m>kℓm > k^\ell, any subset FF of a rough window whose prime-exponent classes modulo ℓ\ell are supported on a prime set SS satisfies ∣F∣≤νℓ(∣S∣)|F| \le \nu_\ell(|S|), where νℓ(j)\nu_\ell(j) is the largest NN with max⁡(∣V0(N)∣,∣V1(N)∣)≤ℓj\max(|V_0(N)|,\allowbreak |V_1(N)|) \le \ell^j.
  • Sharp B3B_3-set bound in (Z/4Z)3(\mathbb{Z}/4\mathbb{Z})^3 (Lean 4, no external hypothesis): Every B3B_3-set A⊆(Z/4Z)3A \subseteq (\mathbb{Z}/4\mathbb{Z})^3 satisfies ∣A∣≤4|A| \le 4 (strictly below the packing value ν4(3)=5\nu_4(3) = 5), attained by {0,e1,e2,e3}\{0,\allowbreak e_1,\allowbreak e_2,\allowbreak e_3\}.
  • Counterexample to a stated B3B_3 bound (Lean 4, no external hypothesis): A={0,1,4}⊆Z/13ZA = \{0,\allowbreak 1,\allowbreak 4\} \subseteq \mathbb{Z}/13\mathbb{Z} is a B3B_3-set with ∣A∣3=27>24=2⋅13−2|A|^3 = 27 > 24 = 2 \cdot 13 - 2 (refuting the numerical bound of Theorem C.8 as printed in Bajnok, arXiv:1705.07444v2, 2017, p. 152) and ∣2A−A∣=12|2A - A| = 12, ∣A−A∣=7|A - A| = 7, ∣2A−A∣+∣A−A∣=19>13|2A - A| + |A - A| = 19 > 13 (refuting the disjointness step of its proof). Version 2 of Bajnok's preprint separately reports a computer search finding B3B_3-sets of size 33 in cyclic groups of order ≥13\ge 13 (p. 158) and exhibits the equivalent set {1,3,9}\{1,\allowbreak 3,\allowbreak 9\} in Chapter G (p. 337, the image of {0,1,4}\{0,\allowbreak 1,\allowbreak 4\} under u↦2u+1u \mapsto 2u + 1); Proposition 10 adds the explicit Lean 4 verification of both facts. The 2018 CRC Press print edition has not been checked.
  • Five upstream hypotheses (H1)–(H5) (Lean 4, conditional solely on 7 cited literature theorems): Proved inside Lean 4's pure kernel (phase45BaseHyp_of_literature) directly from the seven published theorems in AtomicLiteratureHyp (Erdős–Selfridge 1975 Thm 1, Bennett 2004 Thm 1.2, Saradha–Shorey one-omitted theorem 2001/2003/2008 p. 650, Saradha–Shorey 2008 Cor 2, Dusart 2010 Prop 6.8 & Thm 6.9, and explicit Brun–Titchmarsh quoted from Heath-Brown 2002 Sec. 3 / Montgomery–Vaughan 1973, unread), with all five formerly external finite Phase-5 computations discharged inside the Lean kernel.

Check it yourself

  • By hand in 30 seconds: The smallest four composite integers are 4=224 = 2^2, 6=2⋅36 = 2 \cdot 3, 8=238 = 2^3, and 9=329 = 3^2. Their product is 22+1+3⋅31+2=26⋅33=(22⋅3)3=123=17282^{2+1+3} \cdot 3^{1+2} = 2^6 \cdot 3^3 = (2^2 \cdot 3)^3 = 12^3 = 1728.
  • The square companion (ℓ=2\ell = 2, open): Between 1414 and 2121 the composites are 14,15,16,18,20,2114,\allowbreak 15,\allowbreak 16,\allowbreak 18,\allowbreak 20,\allowbreak 21; their product is 28⋅34⋅52⋅72=(24⋅32⋅5⋅7)2=504022^8 \cdot 3^4 \cdot 5^2 \cdot 7^2 = (2^4 \cdot 3^2 \cdot 5 \cdot 7)^2 = 5040^2.
  • The Z/13Z\mathbb{Z}/13\mathbb{Z} counterexample by hand: Take A={0,1,4}⊆Z/13ZA = \{0,\allowbreak 1,\allowbreak 4\} \subseteq \mathbb{Z}/13\mathbb{Z}. All 1010 triple sums a+b+c mod 13a + b + c \bmod 13 are distinct (0,1,2,3,4,5,6,8,9,120,\allowbreak 1,\allowbreak 2,\allowbreak 3,\allowbreak 4,\allowbreak 5,\allowbreak 6,\allowbreak 8,\allowbreak 9,\allowbreak 12), so AA is a B3B_3-set of size 33. Yet A−A={0,1,3,4,9,10,12}A - A = \{0,\allowbreak 1,\allowbreak 3,\allowbreak 4,\allowbreak 9,\allowbreak 10,\allowbreak 12\} (size 77) lies entirely inside 2A−A=(Z/13Z)∖{6}2A - A = (\mathbb{Z}/13\mathbb{Z}) \setminus \{6\} (size 1212), so ∣2A−A∣+∣A−A∣=19>13|2A - A| + |A - A| = 19 > 13 and 33=27>24=2⋅13−23^3 = 27 > 24 = 2 \cdot 13 - 2.
  • Replay from the archive: Unpack the verification archive and run lake build ConsecutiveComposites ConsecutiveComposites.VerifyDraft2 on the bundled 30-file Lean 4 library. The script papers/consecutive-composites-perfect-power/draft4/compute.py independently cross-checks all exact small-range blocks (1,590,4361,\allowbreak 590,\allowbreak 436 blocks through b≤2102b \le 2102, finding only [4,9][4,\allowbreak 9] and [14,21][14,\allowbreak 21]), prime-gap bounds, packing tables, and exponent cutoffs. Run from the unpacked archive, it stops at its import of ouropen_emit, a module that is not in the download.

Status and who checked it

  • Verified in Lean 4.35 + Mathlib (all 7 of 7 main results; 8 of 8 proved abstract claims; 16 of 16 proved claims overall): ConsecutiveComposites.VerifyDraft2 (385 audited public theorems across 30 source files, zero sorry, zero native_decide, standard axioms propext, Classical.choice, and Quot.sound only, zero external compute certificates) proves unconditionally the full 10,65810,\allowbreak 658-pair finite box (theoremG_unconditional, theorem4_unconditional), signed-combination packing (lemmaP_packing_bound, lemmaS_distinct_class_sums), ∣A∣≤4|A| \le 4 in (Z/4Z)3(\mathbb{Z}/4\mathbb{Z})^3 (b3Set_zmod4_cube_card_le_four, b3Set_zmod4_cube_witness_four), the Z/13Z\mathbb{Z}/13\mathbb{Z} counterexample (bajnok_thm_C8_refuted), small range b≤500b \le 500 (unique_composite_power_le_500), supporting Lemmas 15–17 (lemmaK_complete, lemmaW_complete, lemmaC_complete), and witnesses (witness_4_9_cube, witness_14_21_square); proves conditionally on Phase45BaseHyp the global reduction (theorem5_unique_composite_power_from_phase45, theorem5_interval_endpoints_from_phase45); and proves conditionally solely on AtomicLiteratureHyp Proposition 7 (phase45BaseHyp_of_literature) and Theorem 1 (theorem1_unique_composite_power_from_literature, theorem1_interval_endpoints_from_literature). Mechanical Lean checking and automated editorial review for v2 (all 18 compared statements, 385 theorems) are registered on Palomar as PALOMAR-2026-11-28-000108.
  • External literature boundary (AtomicLiteratureHyp): Seven published theorems not yet in Mathlib are supplied as explicit structure hypotheses rather than re-proved inside Lean; zero original proof steps and zero compute certificates lie outside Lean.
  • Open: Uniqueness of [14,21][14,\allowbreak 21] for perfect squares (ℓ=2\ell = 2) and eliminating rough-deleted power windows for arbitrary spans beyond the finite box remain open.
  • Unrefereed. AI systems generated and checked this work. No human mathematician has yet refereed the proof.

Prior work

Figure 1. Exact prior-work lineage and Lean 4 proof dependency diagram. Seven published theorems bundled in AtomicLiteratureHyp feed the left pure-kernel Lean 4 reduction track (Proposition 7 and Lemmas 15–17), while the right track (Lemma 14, Theorems 5, 8, and 9, Corollary 6, and Proposition 10) requires zero external hypotheses; both tracks converge to Theorems 1 and 3 beside Conjectures 18 and 19. The bottom strip separates adjacent context-only prior work not used in the proof (including Bajnok 2017 Theorem C.8 as printed, refuted by Proposition 10).Full size

Erdős and Selfridge (1975) settled consecutive integers with zero omissions. One omitted term was treated by Saradha and Shorey (2008, p. 650, summarizing k≥4k \ge 4 from 2001, Theorem 1, for common difference 11, multiplier 11, and odd prime exponents, and 2003, Theorem 1, for squares with k≥3k \ge 3), Hanrot, Saradha, and Shorey (2001, p. 14), Bennett (2004, Corollary 1.5), Bennett (2023, unread), and Pratt (2025, Theorem 1.1, solving non-zero cubes for 5≤k≤115 \le k \le 11 in progressions with gcd⁡(n,d)=1\gcd(n,\allowbreak d) = 1 and noting missed cubic cases in Bennett 2023); two omitted terms by Mukhopadhyay and Shorey (2004, eq. (11), squares, listing 504025040^2) and Saradha and Shorey (2008, Corollary 2, higher powers, listing 12312^3). Growing numbers of omitted terms were studied qualitatively by Erdős (1955) and Shorey (1987, effective but unspecified span bound) and explicitly by Saradha (1997, up to [0.0017 k/log⁡k][0.0017\,k/\log k] omitted terms under a large-prime-factor hypothesis). Bravo, Ruiz, and Trujillo (2012, Theorems 3 and 7) gave the closed formulas for ∣2A−A∣|2A - A| and ∣2A−2A∣|2A - 2A| matching our signed-ball polynomials at ℓ=4\ell = 4 and ℓ=5\ell = 5.

Searches run. Dated prior-work searches on 2026-11-27 (passing litsearch.py check) queried keyed Google Scholar (7 queries), keyed CORE (3 queries), OEIS (2 queries including A036691), arXiv (4 queries), zbMATH Open (3 queries), Math Stack Exchange, MathOverflow, DataCite, Zenodo, and GitHub, checking 11 logged candidates. Fourteen cited primary papers plus OEIS A036691 were read in full; in Bajnok (arXiv:1705.07444v2, Aug 2017, latest arXiv revision; belabajnok.net lists no public errata PDF), Chapter C (pp. 149–172), Chapter G p. 337, and the proofs of Theorem B.8 and Propositions C.36, C.50, and C.51 (pp. 385–396) were read, and version 2 was searched in full confirming Theorem C.8 is not qualified elsewhere in it (although version 2 itself reports on p. 158 a computer search finding B3B_3-sets of size 33 in cyclic groups of order ≥13\ge 13 and exhibits {1,3,9}⊆Z/13Z\{1,\allowbreak 3,\allowbreak 9\} \subseteq \mathbb{Z}/13\mathbb{Z} on p. 337). The classification of consecutive composite blocks as ℓ\ell-th powers (ℓ≥3\ell \ge 3) and the sharp bound σ((Z/4Z)3,3)=4\sigma((\mathbb{Z}/4\mathbb{Z})^3,\allowbreak 3) = 4 were not found in the searches logged.

Still owed: OpenAlex (stopped by HTTP 429 until 2026-11-28), MathSciNet, Semantic Scholar, HAL, OSF Preprints, print monographs including N. Saradha (S. Natarajan, Perfect Powers — An Ode to Erdős, Springer, 2025), Bajnok's 2018 CRC Press print edition and publisher errata, Guy's Unsolved Problems in Number Theory, and full texts of the remaining unread papers (Bennett 2023, Győry–Pintér 2005, Saradha 2019, Erdős–Turk 1984, Shorey–Tijdeman 2016, Montgomery–Vaughan 1973, Mihăilescu 2004).

Further reading

Short

Watch on YouTube ↗