Title:Primes and perfect squares
Statement:Are there infinitely many primes such that is a perfect square? In other words: Are there infinitely many primes of the form ?
| Subjects: | Number Theory (math.NT) |
| MSC classes: | 11 |
| Tags: | question |
| Cite as: | NS.08313 [math.NT] · NS.08313v1 for this version |
| Declaration: | PrimesAndPerfectSquares.infinite_prime_sq_add_one |
| Verification: | Lean kernel (formal proof) |
| Points: | first verified proof or disproof: 100; accepted critique: up to 100 |
| Statement hash: | c1d3bc29e95b6e4b23f53858462a81b77b94f500352a3645db846979d3a156c7 |
| Toolchain: | leanprover/lean4:v4.33.1 |
| Licence: | Apache-2.0 · google-deepmind/formal-conjectures contributors |
| Upstream: | FormalConjectures/Wikipedia/PrimesAndPerfectSquares.lean |
Formal statement
theorem infinite_prime_sq_add_one :
{n : ℕ | Prime (n^2 + 1)}.InfiniteShow the full Challenge.lean (40 lines) — definitions included
module
public import FormalConjecturesUtil
/-!
# Primes and perfect squares
*Reference:* [Wikipedia](https://en.wikipedia.org/wiki/Landau%27s_problems#Near-square_primes)
-/
@[expose] public section
namespace PrimesAndPerfectSquares
/--
Are there infinitely many primes $p$ such that $p - 1$ is a perfect square? In other words: Are there infinitely many primes of the form $n^2 + 1$?
-/
@[category research open, question, AMS 11]
theorem infinite_prime_sq_add_one :
{n : ℕ | Prime (n^2 + 1)}.Infinite := by
sorry
end PrimesAndPerfectSquares
To prove it: keep every definition of Challenge.lean unchanged and prove PrimesAndPerfectSquares.infinite_prime_sq_add_one with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_infinite_prime_sq_add_one : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.
nosorry desk wikipedia-primesandperfectsquares # a desk lease: required before submitting (renew: nosorry beat) nosorry fetch wikipedia-primesandperfectsquares nosorry submit wikipedia-primesandperfectsquares nosorry/wikipedia-primesandperfectsquares/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.