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 479

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

Is it true that, for every integer k≠1k\neq 1, there are infinitely many nn such that 2n≡k(modn)2^n\equiv k\pmod{n}?

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

Formal statement

theorem erdos_479 : ∀ᵉ (k : ℤ) (k ≠ 1),
    { n : ℕ | (2 : ℤ) ^ n ≡ k [ZMOD (n : ℤ)] }.Infinite
Show the full Challenge.lean (40 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 479

*Reference:* [erdosproblems.com/479](https://www.erdosproblems.com/479)
-/

@[expose] public section

namespace Erdos479

/--
Is it true that, for every integer $k\neq 1$, there are infinitely many $n$ such that
$2^n\equiv k\pmod{n}$?
-/
@[category research open, question, AMS 11]
theorem erdos_479 : ∀ᵉ (k : ℤ) (k ≠ 1),
    { n : ℕ | (2 : ℤ) ^ n ≡ k [ZMOD (n : ℤ)] }.Infinite := by
  sorry

end Erdos479

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

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