Wiki
Wiki

Research notes on every problem, and a library of the papers behind them. Built from the open erdos repository.

Updated

Problem 646

../

claims/: The 1 claim page of Problem 646, one per claimant's result; the problem's standing derives from them.


Statement. Let p1,…,pkp_1,\ldots,p_k be distinct primes. Are there infinitely many nn such that n!n! is divisible by an even power of each of the pip_i?

Formulation. The erdosproblems.com wording (page last edited 28 December 2025) is read as its sources read it: the exponent of each pip_i in the prime factorization of n!n! is even. Berend's abstract states the question of Erdős and Graham in this form for the first kk primes, and the formal-conjectures statement asks that the pp-adic valuation of n!n! be even for each prime pp of the set. Read as Bloom's catalog words it, divisibility by an even power of each pip_i holds for every nn, since pi0p_i^0 divides n!n!, and pi2p_i^2 does once n≥2pin\ge2p_i.

Status. Bloom's catalog labeled the problem PROVED (LEAN). The standing derived from the claim page is solved, proved. It rests on Berend 1997, a refereed paper credited by the erdosproblems.com curator. The Lean proof that the erdosproblems.com label refers to is third-party work and is not built here.

Source. erdosproblems.com/646, accessed 2026-09-04 and 2026-10-07 (problem page last edited 28 December 2025; on the later date its discussion thread held two posts); its proof-claims page listed no claim. erdosproblems.com cites the problem from p. 77 of Erdős and Graham's 1980 problem book and from Erdős's 1997 survey [Er97e]. Cite as: T. F. Bloom, Erdős Problem #646, https://www.erdosproblems.com/646.

References.

  • [Be97] Berend, Daniel, On the parity of exponents in the factorization of n!n!. J. Number Theory 64 (1997), no. 1, 13-19.
  • [Er97e] Erdős, Paul, Some of my favourite unsolved problems. Math. Japon. (1997), 527-537.

Formalization. The formal-conjectures file FormalConjectures/ErdosProblems/646.lean, added on 2026-08-03, states the question as erdos_646 with sorry, tags it solved and names as its formal proof the file Erdos646.lean of Boris Alexeev's repository of Lean proofs, at the commit of 2026-09-18 linked here; the claim page links that file at the pinned commit. Nothing has been built here.

Current assessment

The question, as erdosproblems.com states it (page last edited 28 December 2025): for distinct primes p1,…,pkp_1,\ldots,p_k, are there infinitely many nn such that n!n! is divisible by an even power of each pip_i? The answer is yes.

The resolution. Berend [Be97] proves that for every kk infinitely many nn have each of the first kk primes to an even exponent in n!n!, which covers any finite set of distinct primes, and, as erdosproblems.com reports, that the integers nn with this property have bounded gaps, with a bound depending on the primes. The claim page records the theorem and its acceptance: a refereed paper credited by the erdosproblems.com curator. The Lean proof that JoshuaB produced with Aristotle and announced in the erdosproblems.com thread on 2026-02-27, of which Alexeev's repository holds a later copy, proves the infinitude for an arbitrary finite set of distinct primes and not the bounded gaps; the copy is linked from the claim page and has not been built here. Berend's paper is not held.

Search scope. On 2026-10-07 the erdosproblems.com discussion thread held two posts, one of 2025-12-28 adding the problem-book reference and one of 2026-02-27 announcing the Lean formalization, and its proof-claims page listed no claim for the problem. The formal-conjectures statement file and the Lean file are described at the revisions linked above and on the claim page; neither has been built here.