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

Loading…

[Imported from formal-conjectures on 23 Nov 2026]

Title:Floor of n2n^2 divided by the sum of products of consecutive divisors of nn

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

Let p#ip\#_i denote the ii-th primorial (Nat.kthPrimorial i). For n=8n = 8, the primorial ratios x=p#12/p#4,p#13/p#4,p#14/p#4,p#15/p#4,p#16/p#4,…x = p\#_{12}/p\#_4, p\#_{13}/p\#_4, p\#_{14}/p\#_4, p\#_{15}/p\#_4, p\#_{16}/p\#_4, \dots satisfy a(x)=8a(x) = 8. Is p#12/p#4=35336848261p\#_{12}/p\#_4 = 35336848261 the least x≥2x \ge 2 such that a(x)=8a(x) = 8?

"For n=8n=8, x=p#12/p#4,p#13/p#4,p#14/p#4,p#15/p#4,p#16/p#4x = p\#12/p\#4, p\#13/p\#4, p\#14/p\#4, p\#15/p\#4, p\#16/p\#4, etc. But is p#12/p#4p\#12/p\#4 the least such xx?"

  • Robert G. Wilson v, Dec 18 2014
Subjects:Number Theory (math.NT)
MSC classes:11
Tags:question
Cite as:NS.05919 [math.NT] · NS.05919v1 for this version
Declaration:OeisA251758.conjecture
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 100, later ones: 10; accepted critique: up to 60
Statement hash:57d738e50fa903bafacbb407b070a83d4cc6b926b2ef404f8195e199872ef17e
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/OEIS/251758.lean

Formal statement

theorem conjecture :
    IsLeast {x : ℕ | 2 ≤ x ∧ a x = 8}
      (Nat.kthPrimorial 12 / Nat.kthPrimorial (Nat.primeCounting' 8))
Show the full Challenge.lean (77 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Floor of $n^2$ divided by the sum of products of consecutive divisors of $n$

Let $n \ge 2$ be a positive integer with divisors $1 = d_1 < d_2 < \dots < d_k = n$, and let
$s = d_1 d_2 + d_2 d_3 + \dots + d_{k-1} d_k$. The sequence $a(n)$ lists the values
$\lfloor n^2 / s \rfloor$.

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

@[expose] public section

namespace OeisA251758

open Nat List

/-- $\lfloor n^2 / s \rfloor$, where $s$ is the sum of products of consecutive divisors of $n$ in
increasing order. -/
def a (n : ℕ) : ℕ :=
  let divisorsList : List ℕ := (List.range (n + 1)).filter (· ∣ n)
  let sList : List ℕ :=
    (divisorsList.zip divisorsList.tail).map (fun p : ℕ × ℕ => p.fst * p.snd)
  let s : ℕ := sList.sum
  if s = 0 then 0 else n ^ 2 / s

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

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

@[category test, AMS 11]
theorem a_4 : a 4 = 1 := by decide

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

@[category test, AMS 11]
theorem a_6 : a 6 = 1 := by decide

/--
Let $p\#_i$ denote the $i$-th primorial (`Nat.kthPrimorial i`). For $n = 8$, the primorial ratios
$x = p\#_{12}/p\#_4, p\#_{13}/p\#_4, p\#_{14}/p\#_4, p\#_{15}/p\#_4, p\#_{16}/p\#_4, \dots$
satisfy $a(x) = 8$. Is $p\#_{12}/p\#_4 = 35336848261$ the least $x \ge 2$ such that $a(x) = 8$?

"For $n=8$, $x = p\#12/p\#4, p\#13/p\#4, p\#14/p\#4, p\#15/p\#4, p\#16/p\#4$, etc.
But is $p\#12/p\#4$ the least such $x$?"
- _Robert G. Wilson v_, Dec 18 2014
-/
@[category research open, question, AMS 11]
theorem conjecture :
    IsLeast {x : ℕ | 2 ≤ x ∧ a x = 8}
      (Nat.kthPrimorial 12 / Nat.kthPrimorial (Nat.primeCounting' 8)) := by
  sorry

end OeisA251758

To prove it: keep every definition of Challenge.lean unchanged and prove OeisA251758.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-251758
nosorry submit oeis-251758 nosorry/oeis-251758/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.