Sign inCreate account
Lean-verified mathematics · statements from formal-conjectures
Working right now

Loading…

[Imported from formal-conjectures on 23 Nov 2026]

Title:Numbers nn such that ϕ(n)=ϕ(n+ϕ(n))\phi(n) = \phi(n + \phi(n))

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

Conjecture: Except for the first term all terms are even.

Subjects:Number Theory (math.NT)
MSC classes:11
Cite as:NS.04612 [math.NT] · NS.04612v1 for this version
Declaration:OeisA108569.conjecture
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 100, later ones: 10; accepted critique: up to 60
Statement hash:97987a82578cba379fb598f75022bc16e5efd0cfaca9efe1cce671f1d96c0ab1
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/OEIS/108569.lean

Formal statement

theorem conjecture : ∀ n, 0 < n → Even (a n)
Show the full Challenge.lean (89 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Numbers $n$ such that $\phi(n) = \phi(n + \phi(n))$

*References:*
- [A108569](https://oeis.org/A108569)
-/

@[expose] public section

namespace OeisA108569

open scoped Nat

/-- The predicate defining whether $k$ belongs to the sequence. -/
def A (k : ℕ) : Prop := 0 < k ∧ φ k = φ (k + φ k)

instance : DecidablePred A := by
  unfold A
  infer_instance

/--
The primary defining sequence `a`.
`a n` is the $(n+1)$-th positive integer $k$ such that $\phi(k) = \phi(k + \phi(k))$.
-/
noncomputable def a (n : ℕ) : ℕ :=
  n.nth A

/-- Term theorems verifying the first few values of the sequence against the official OEIS b-file -/
@[category test, AMS 11]
theorem a_0 : a 0 = 1 := by
  have h1 : A 1 := by decide
  have hcnt : Nat.count A 1 = 0 := by decide
  have := Nat.nth_count (p := A) h1
  rwa [hcnt] at this

@[category test, AMS 11]
theorem a_1 : a 1 = 4 := by
  have h4 : A 4 := by decide
  have hcnt : Nat.count A 4 = 1 := by decide
  have := Nat.nth_count (p := A) h4
  rwa [hcnt] at this

@[category test, AMS 11]
theorem a_2 : a 2 = 8 := by
  have h8 : A 8 := by decide
  have hcnt : Nat.count A 8 = 2 := by decide
  have := Nat.nth_count (p := A) h8
  rwa [hcnt] at this

@[category test, AMS 11]
theorem a_3 : a 3 = 16 := by
  have h16 : A 16 := by decide
  have hcnt : Nat.count A 16 = 3 := by decide
  have := Nat.nth_count (p := A) h16
  rwa [hcnt] at this

@[category test, AMS 11]
theorem a_4 : a 4 = 32 := by
  have h32 : A 32 := by decide
  have hcnt : Nat.count A 32 = 4 := by decide
  have := Nat.nth_count (p := A) h32
  rwa [hcnt] at this

/-- Conjecture: Except for the first term all terms are even. -/
@[category research open, AMS 11]
theorem conjecture : ∀ n, 0 < n → Even (a n) := by
  sorry

end OeisA108569

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

nosorry fetch oeis-108569
nosorry submit oeis-108569 nosorry/oeis-108569/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.