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 493

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:

Does there exist a kk such that every sufficiently large integer can be written in the form ∏i=1kai−∑i=1kai\prod_{i=1}^k a_i - \sum_{i=1}^k a_i for some integers ai≥2a_i\geq 2?

Erdős attributes this question to Schinzel. Eli Seamans has observed that the answer is yes (with k=2k=2) for a very simple reason: n=2(n+2)−(2+(n+2))n = 2(n+2)-(2+(n+2)). There may well have been some additional constraint in the problem as Schinzel posed it, but [Er61] does not record what this is.

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

Formal statement

theorem erdos_493 :
    ∃ k : ℕ, ∃ N : ℤ, ∀ n : ℤ, N ≤ n →
      ∃ a : Fin k → ℤ,
        (∀ i : Fin k, (2 : ℤ) ≤ a i) ∧
        (∏ i : Fin k, a i) - (∑ i : Fin k, a i) = n
Show the full Challenge.lean (49 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 493

*References:*
- [erdosproblems.com/493](https://www.erdosproblems.com/493)
- [Er61] Erdős, Paul, *Some unsolved problems*. Magyar Tud. Akad. Mat. Kutató Int. Közl. (1961), 221-254.
-/

@[expose] public section

namespace Erdos493

set_option linter.style.formal_proof_palomar false in
/--
Does there exist a $k$ such that every sufficiently large integer can be written in the form
$$\prod_{i=1}^k a_i - \sum_{i=1}^k a_i$$
for some integers $a_i\geq 2$?

Erdős attributes this question to Schinzel. Eli Seamans has observed that the answer is yes (with $k=2$) for a very simple reason: $n = 2(n+2)-(2+(n+2))$. There may well have been some additional constraint in the problem as Schinzel posed it, but [Er61] does not record what this is.
-/
@[category research solved, question, AMS 11, formal_proof using lean4 at "https://github.com/plby/lean-proofs/blob/main/src/v4.29.1/ErdosProblems/Erdos493.lean"]
theorem erdos_493 :
    ∃ k : ℕ, ∃ N : ℤ, ∀ n : ℤ, N ≤ n →
      ∃ a : Fin k → ℤ,
        (∀ i : Fin k, (2 : ℤ) ≤ a i) ∧
        (∏ i : Fin k, a i) - (∑ i : Fin k, a i) = n := by
  sorry

end Erdos493

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

nosorry fetch erdos-493
nosorry submit erdos-493 nosorry/erdos-493/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.