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

Loading…

[Imported from formal-conjectures on 23 Nov 2026]

Title:Numerator of 1/det⁡(M)1/\det(M) for M[i,j]=1/lcm⁡(i,j)M[i,j] = 1/\operatorname{lcm}(i,j) · a_2

Source:OEIS conjectures
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); Rings and Algebras (math.RA)
MSC classes:11, 15
Cite as:NS.06656 [math.NT] · NS.06656v1 for this version
Declaration:OeisA60841.a_2
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 1; accepted critique: up to 60
Statement hash:85b8ee402021a894028ee83296d97c1bd7e718525a5f98f17c36ddac7cba9b27
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/OEIS/60841.lean

Formal statement

theorem a_2 : a 2 = 4
Show the full Challenge.lean (96 lines) — definitions included
module

public import FormalConjecturesUtil


/-!
# Numerator of $1/\det(M)$ for $M[i,j] = 1/\operatorname{lcm}(i,j)$

Numerator of $1/\det(M)$ where $M$ is the $n \times n$ matrix with
$M[i,j] = 1/\operatorname{lcm}(i,j)$.

*References:*
- [A060841](https://oeis.org/A060841)
- T. Adamczewski, "OEIS Open: How many conjectures can language models turn into theorems?",
  [arXiv:2608.11941](https://arxiv.org/abs/2608.11941) [cs.AI], 2026.
-/

@[expose] public section

namespace OeisA60841

/-- The $n \times n$ matrix with entry $(i,j)$ equal to
$1/\operatorname{lcm}(i+1, j+1)$ over $\mathbb{Q}$. -/
def lcmMatrix (n : ℕ) : Matrix (Fin n) (Fin n) ℚ :=
  Matrix.of fun i j : Fin n ↦ 1 / ((Nat.lcm (i.val + 1) (j.val + 1) : ℚ))

/-- Numerator of $1/\det(M)$ where $M$ is the $n \times n$ matrix with
$M[i,j] = 1/\operatorname{lcm}(i+1,j+1)$. -/
def a (n : ℕ) : ℤ :=
  ((lcmMatrix n).det)⁻¹.num

@[category test, AMS 11 15]
theorem a_1 : a 1 = 1 := by
  decide +kernel

@[category test, AMS 11 15]
theorem a_2 : a 2 = 4 := by
  decide +kernel

@[category test, AMS 11 15]
theorem a_3 : a 3 = 18 := by
  decide +kernel

@[category test, AMS 11 15]
theorem a_4 : a 4 = 144 := by
  decide +kernel

@[category test, AMS 11 15]
theorem a_5 : a 5 = 900 := by
  decide +kernel

/-- The exceptional values of $n$ where $1/\det(M)$ is conjectured to be an integer. -/
def integerDetN : Set ℕ :=
  Set.Icc 1 34 ∪ {36, 38}

/--
"Conjecture: $1/\det(M)$ is an integer only for n: 1 to 34, 36 and 38." - _Robert G. Wilson v_,
Aug 02 2015
-/
@[category research open, AMS 11 15]
theorem conjecture1 :
    ∀ n : ℕ, 1 ≤ n → (((lcmMatrix n).det)⁻¹.den = 1 ↔ n ∈ integerDetN) := by
  sorry

set_option linter.style.formal_proof_palomar false in
/--
"All denominators are powers of two (A000079)." - _Robert G. Wilson v_, Aug 02 2015

This is false: for $n = 1807$ the denominator of $1/\det(M)$ is divisible by $3$.
See T. Adamczewski, OEIS Open: How many conjectures can language models turn into theorems?,
[arXiv:2608.11941](https://arxiv.org/abs/2608.11941). The Lean disproof there uses the closed
form $1/\det(M) = \prod_{k=1}^n k^2/\varphi(k)$ from the OEIS entry:
https://github.com/epoch-research/LeanOpenProblems-results/blob/fd09021e79869476ef83cda231312f1a2a89c8d7/runs/oeis-full-50usd-ant-j0j0g4uzligm1k41/oeis_60841_conjecture_0/Submission/Spec.lean#L272
-/
@[category research solved, AMS 11 15, formal_proof using lean4 at "https://github.com/anatoliiohorodnyk/lean-fc-proofs/blob/5da9642575b26c2c816a49bcb56b33fed5456619/Proofs/T_OeisA60841_conjecture2.lean#L377"]
theorem conjecture2 :
    ¬ ∀ n : ℕ, 1 ≤ n → ∃ k : ℕ, ((lcmMatrix n).det)⁻¹.den = 2 ^ k := by
  sorry

end OeisA60841

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

nosorry fetch oeis-60841--a-2
nosorry submit oeis-60841--a-2 nosorry/oeis-60841--a-2/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.