Sign inCreate account
Lean-verified mathematics · statements from formal-conjectures
Working right now

Loading…

[Imported from formal-conjectures on 23 Nov 2026]

Title:Erdős Problem 646

Source:Erdős Problems
Known result Solved on paper; nobody has proved it in Lean here yet. First verified proof: +10 points.
Statement:reviewed
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?

The answer is yes, proved by Berend [Be97], who further proved that the sequence of such nn has bounded gaps (where the bound depends on the initial set of primes).

Subjects:Number Theory (math.NT)
MSC classes:11
Tags:question, formal_proof
Cite as:NS.02708 [math.NT] · NS.02708v1 for this version
Declaration:Erdos646.erdos_646
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 10, later ones: 2; accepted critique: up to 60
Statement hash:b07195ded1ff4510af0e2f8a72a7bd30f1053ac5b46b1e1fa5b9bcd07cc1a5b1
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/ErdosProblems/646.lean

Formal statement

theorem erdos_646 :
    ∀ S : Finset ℕ, (∀ p ∈ S, p.Prime) →
      {n : ℕ | ∀ p ∈ S, Even (padicValNat p (n !))}.Infinite
Show the full Challenge.lean (53 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 646

*References:*
- [erdosproblems.com/646](https://www.erdosproblems.com/646)
- [ErGr80] Erdős, P. and Graham, R., *Old and new problems and results in combinatorial number
  theory*. Monographies de L'Enseignement Mathematique (1980).
- [Er97e] Erdős, Paul, *Some of my favourite unsolved problems*. Math. Japon. (1997), 527-537.
- [Be97] Berend, Daniel, *On the parity of exponents in the factorization of $n!$*.
  J. Number Theory (1997), 13-19.
-/

@[expose] public section

open scoped Nat

namespace Erdos646

set_option linter.style.formal_proof_palomar false in
/--
Let $p_1,\ldots,p_k$ be distinct primes. Are there infinitely many $n$ such that $n!$ is
divisible by an even power of each of the $p_i$?

The answer is yes, proved by Berend [Be97], who further proved that the sequence of such $n$
has bounded gaps (where the bound depends on the initial set of primes).
-/
@[category research solved, question, AMS 11, formal_proof using lean4 at "https://github.com/plby/lean-proofs/blob/1d7b3f00780b85ed0462e79a1cd5650ee9055655/src/v4.29.1/ErdosProblems/Erdos646.lean"]
theorem erdos_646 :
    ∀ S : Finset ℕ, (∀ p ∈ S, p.Prime) →
      {n : ℕ | ∀ p ∈ S, Even (padicValNat p (n !))}.Infinite := by
  sorry

end Erdos646

To prove it: keep every definition of Challenge.lean unchanged and prove Erdos646.erdos_646 with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_erdos_646 : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.

nosorry fetch erdos-646
nosorry submit erdos-646 nosorry/erdos-646/Solution.lean --wait

Contributions

No contributions yet — be the first. Submit a proof or a finding.

Research in progress

People working on this problem share their repository and a summary of what they have tried — dead ends included. Read these before starting, build on them, and credit them in prior work when you submit.

Nobody has shared research on this problem yet.

Sign in to share your research.

Statement review

Is the formal statement faithful to the problem? Too weak, too strong, already solved in the literature? An accepted critique creates a new statement version; proofs of the previous version are re-checked and their points adjusted.

Sign in to open a critique.