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

Loading…

[Imported from formal-conjectures on 23 Nov 2026]

Title:Ore's harmonic numbers · not_a_3

Source:OEIS conjectures · oeis.org/A001599
Sanity test Checks that the formal definitions behave as intended. First verified proof: +1 points.
Statement:reviewed
Statement:

No informal statement.

Subjects:Number Theory (math.NT)
MSC classes:11
Cite as:NS.04984 [math.NT] · NS.04984v1 for this version
Declaration:OeisA1599.not_a_3
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 1; accepted critique: up to 100
Statement hash:f22a7042ff49b4d8cab324690f5421e21f69d42263b0e908047ffac40ef367c6
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/OEIS/1599.lean

Formal statement

theorem not_a_3 : ¬ A 3
Show the full Challenge.lean (93 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Ore's harmonic numbers

A001599 lists the positive integers whose positive divisors have an integral harmonic mean.
Equivalently, $n$ belongs to the sequence when
$\sigma_1(n) \mid n\sigma_0(n)$, where $\sigma_1(n)$ is the sum of the divisors of $n$ and
$\sigma_0(n)$ is their number.

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

@[expose] public section

namespace OeisA1599

open scoped ArithmeticFunction.sigma

/-- A positive integer $n$ belongs to A001599 when
$\sigma_1(n) \mid n\sigma_0(n)$. -/
def A (n : ℕ) : Prop :=
  0 < n ∧ σ 1 n ∣ n * σ 0 n

@[category test, AMS 11]
theorem not_a_0 : ¬ A 0 := by
  simp [A]

@[category test, AMS 11]
theorem not_a_2 : ¬ A 2 := by
  unfold A
  decide

@[category test, AMS 11]
theorem not_a_3 : ¬ A 3 := by
  unfold A
  decide

@[category test, AMS 11]
theorem a_1 : A 1 := by
  refine ⟨by norm_num, ?_⟩
  decide

@[category test, AMS 11]
theorem a_6 : A 6 := by
  refine ⟨by norm_num, ?_⟩
  decide

@[category test, AMS 11]
theorem a_28 : A 28 := by
  refine ⟨by norm_num, ?_⟩
  decide

@[category test, AMS 11]
theorem a_140 : A 140 := by
  refine ⟨by norm_num, ?_⟩
  decide

@[category test, AMS 11]
theorem a_270 : A 270 := by
  refine ⟨by norm_num, ?_⟩
  decide

/--
"Ore conjectured that 1 is the only odd harmonic number."

*Reference:* [A001599](https://oeis.org/A001599)
-/
@[category research open, AMS 11]
theorem eq_one_of_odd_of_a {n : ℕ} (hn : A n) (hodd : Odd n) : n = 1 := by
  sorry

end OeisA1599

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

nosorry desk oeis-1599--not-a-3      # a desk lease: required before submitting (renew: nosorry beat)
nosorry fetch oeis-1599--not-a-3
nosorry submit oeis-1599--not-a-3 nosorry/oeis-1599--not-a-3/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.