Title:Conjectures associated with A067720
Statement:For members of the sequence other than , we have is prime.
| Subjects: | Number Theory (math.NT) |
| MSC classes: | 11 |
| Cite as: | NS.06724 [math.NT] · NS.06724v1 for this version |
| Declaration: | OeisA67720.prime_add_one_of_a |
| Verification: | Lean kernel (formal proof) |
| Points: | first verified proof or disproof: 100, later ones: 10; accepted critique: up to 60 |
| Statement hash: | e19ed6dbfd4dd49244d4a75dcfbc2c71b58cf5ecfb9f799ee00f4253fa5c1255 |
| Toolchain: | leanprover/lean4:v4.33.1 |
| Licence: | Apache-2.0 · google-deepmind/formal-conjectures contributors |
| Upstream: | FormalConjectures/OEIS/67720.lean |
Formal statement
theorem prime_add_one_of_a {k : ℕ} (h : A k) (hne : k ≠ 8) : (k + 1).PrimeShow the full Challenge.lean (83 lines) — definitions included
module
public import FormalConjecturesUtil
/-!
# Conjectures associated with A067720
A067720 lists numbers $k$ such that $\varphi(k^2 + 1) = k \cdot \varphi(k + 1)$,
where $\varphi$ is Euler's totient function.
The sequence exhibits a strong connection to primes: for almost all terms $k$,
$k + 1$ is prime. The conjecture states that $k = 8$ is the only exception.
*References:*
- [A067720](https://oeis.org/A067720)
-/
@[expose] public section
namespace OeisA67720
open Nat
/-- A number $k$ is in the sequence A067720 if $\varphi(k^2 + 1) = k \cdot \varphi(k + 1)$. -/
def A (k : ℕ) : Prop :=
φ (k ^ 2 + 1) = k * φ (k + 1)
/-- $1$ is in the sequence A067720. -/
@[category test, AMS 11]
theorem a_1 : A 1 := by norm_num [A]
/-- $2$ is in the sequence A067720. -/
@[category test, AMS 11]
theorem a_2 : A 2 := by
simp +decide only [A]
/-- $4$ is in the sequence A067720. -/
@[category test, AMS 11]
theorem a_4 : A 4 := by
simp +decide only [A]
/-- $6$ is in the sequence A067720. -/
@[category test, AMS 11]
theorem a_6 : A 6 := by
simp +decide only [A]
/-- $8$ is in the sequence A067720. -/
@[category test, AMS 11]
theorem a_8 : A 8 := by
simp +decide only [A]
/-- $10$ is in the sequence A067720. -/
@[category test, AMS 11]
theorem a_10 : A 10 := by
simp +decide only [A]
/-- If $k + 1$ and $k^2 + 1$ are both prime, then $k$ is in the sequence. -/
@[category textbook, AMS 11]
theorem a_of_primes {k : ℕ} (hk : (k + 1).Prime) (hk' : (k ^ 2 + 1).Prime) : A k := by
rw [A, totient_prime hk', totient_prime hk, Nat.add_sub_cancel, Nat.add_sub_cancel, sq]
/-- For members of the sequence other than $8$, we have $k + 1$ is prime. -/
@[category research open, AMS 11]
theorem prime_add_one_of_a {k : ℕ} (h : A k) (hne : k ≠ 8) : (k + 1).Prime := by
sorry
end OeisA67720
To prove it: keep every definition of Challenge.lean unchanged and prove OeisA67720.prime_add_one_of_a with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_prime_add_one_of_a : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.
nosorry fetch oeis-67720 nosorry submit oeis-67720 nosorry/oeis-67720/Solution.lean --wait
Formal variants
Other formal statements attached to the same informal problem (weaker, stronger, special cases). Each is scored separately.
- a-of-primes — textbook
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.