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 276

Source:Erdős Problems
Open problem Nobody knows the answer yet — neither on paper nor in Lean. First verified proof: +100 points.
Statement:reviewed
Statement:

Is there an infinite Lucas sequence a0,a1,…a_0, a_1, \ldots where an+2=an+1+ana_{n+2} = a_{n+1} + a_n for n≥0n \ge 0 such that all aka_k are composite, and yet no integer has a common factor with every term of the sequence?

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

Formal statement

theorem erdos_276 :
    ∃ (a : ℕ → ℕ),
    IsLucasSequence a ∧ (∀ k, (a k).Composite) ∧ (∀ n > 1, ∃ k, Nat.gcd n (a k) = 1)
Show the full Challenge.lean (55 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 276

*References:*
[erdosproblems.com/276](https://www.erdosproblems.com/276)
-/

@[expose] public section

namespace Erdos276

/--
We define a Lucas sequence to be a Fibonacci sequence with arbitrary starting points
`L 0` and `L 1`.

TODO: There seems to be multiple definitions in the literature, some of which also
allow coefficients in the recurrence relation. For now this simple definition has been
chosen as it agrees best with the Erdős problem in this same file.
However before moving this into `ForMathlib` one should make a conscious decision about
which definition to choose.
-/
def IsLucasSequence (L : ℕ → ℕ) : Prop := ∀ n, L (n + 2) = L (n + 1) + L n

/--
Is there an infinite Lucas sequence $a_0, a_1, \ldots$ where $a_{n+2} = a_{n+1} + a_n$ for
$n \ge 0$ such that all $a_k$ are composite, and yet no integer has a common factor with every
term of the sequence?
-/
@[category research open, question, AMS 11]
theorem erdos_276 :
    ∃ (a : ℕ → ℕ),
    IsLucasSequence a ∧ (∀ k, (a k).Composite) ∧ (∀ n > 1, ∃ k, Nat.gcd n (a k) = 1) := by
  sorry

end Erdos276

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

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