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

Loading…

[Imported from formal-conjectures on 23 Nov 2026]

Title:Alternating sum of signs of powers of 3/23/2 · conjecture3

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: asymptotically, a(n)∼Clog⁡(n)2a(n) \sim C \log(n)^2 for some constant C>0C > 0.

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

Formal statement

theorem conjecture3 :
    ∃ C : ℝ, 0 < C ∧ (fun n : ℕ ↦ (a n : ℝ)) ~[atTop] (fun n : ℕ ↦ C * Real.log (n : ℝ) ^ 2)
Show the full Challenge.lean (109 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Alternating sum of signs of powers of $3/2$

The sequence $a(n) = -\sum_{k=1}^n (-1)^{\lfloor (3/2)^k \rfloor}$.

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

@[expose] public section

namespace OeisA71532

open Finset Filter
open scoped Asymptotics

/-- The sequence $a(n) = -\sum_{k=1}^n (-1)^{\lfloor (3/2)^k \rfloor}$. -/
def a (n : ℕ) : ℤ :=
  - ∑ k ∈ Icc 1 n, (-1 : ℤ) ^ (3 ^ k / 2 ^ k)

/-- Value of the sequence `a` at 1. -/
@[category test, AMS 11]
theorem a_1 : a 1 = 1 := by
  decide

/-- Value of the sequence `a` at 2. -/
@[category test, AMS 11]
theorem a_2 : a 2 = 0 := by
  decide

/-- Value of the sequence `a` at 3. -/
@[category test, AMS 11]
theorem a_3 : a 3 = 1 := by
  decide

/-- Value of the sequence `a` at 4. -/
@[category test, AMS 11]
theorem a_4 : a 4 = 2 := by
  decide

/-- Value of the sequence `a` at 5. -/
@[category test, AMS 11]
theorem a_5 : a 5 = 3 := by
  decide

set_option linter.style.formal_proof_palomar false in
/--
"Is $a(n)>0$?"

The answer is negative: $a(331523) = -1$. The restriction $n > 2$ excludes the initial
zero $a(2) = 0$.

The counterexample and formal proof were developed by Codex (GPT-6), prompted by
Samuel Schlesinger.
-/
@[category research solved, question, AMS 11, formal_proof using lean4 at
  "https://github.com/SamuelSchlesinger/a071532-counterexample/blob/818c9f6b3f1eed9ebd1b3b9481848dc21f3e3243/Counterexample.lean#L28-L35"]
theorem conjecture1 : ¬ ∀ n : ℕ, 2 < n → 0 < a n := by
  sorry

/--
For $n$ large enough, does $a(n) > \sqrt{n}$ always hold?
-/
@[category research open, AMS 11]
theorem conjecture2 :
    ∃ N : ℕ, ∀ n : ℕ, N ≤ n → (a n : ℝ) > Real.sqrt (n : ℝ) := by
  sorry

/--
Conjecture: asymptotically, $a(n) \sim C \log(n)^2$ for some constant $C > 0$.
-/
@[category research open, AMS 11]
theorem conjecture3 :
    ∃ C : ℝ, 0 < C ∧ (fun n : ℕ ↦ (a n : ℝ)) ~[atTop] (fun n : ℕ ↦ C * Real.log (n : ℝ) ^ 2) := by
  sorry

def conjecture3_value.answer : ℝ := sorry

/--
Conjecture: the constant $C$ in $a(n) \sim C \log(n)^2$ is approximately $1.4$.
-/
@[category research open, question value, AMS 11]
theorem conjecture3_value :
    |conjecture3_value.answer - 1.4| < 0.1 ∧
      (fun n : ℕ ↦ (a n : ℝ)) ~[atTop] (fun n : ℕ ↦ conjecture3_value.answer * Real.log (n : ℝ) ^ 2)
        := by
  sorry

end OeisA71532

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

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