{
  "id": "6804",
  "ident": "NS.06804",
  "slug": "oeis-71532--conjecture3-value",
  "title": "Alternating sum of signs of powers of $3/2$ · conjecture3_value",
  "status": "open",
  "statement_status": "reviewed",
  "statement_md": "Conjecture: the constant $C$ in $a(n) \\sim C \\log(n)^2$ is approximately $1.4$.",
  "subjects": [
    "math.NT",
    "msc:11"
  ],
  "tags": [
    "question"
  ],
  "collection": "oeis",
  "source_url": null,
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "OeisA71532.conjecture3_value",
  "statement_lean": "theorem conjecture3_value :\n    |conjecture3_value.answer - 1.4| < 0.1 ∧\n      (fun n : ℕ ↦ (a n : ℝ)) ~[atTop] (fun n : ℕ ↦ conjecture3_value.answer * Real.log (n : ℝ) ^ 2)",
  "challenge_source": "/-\nCopyright 2026 The Formal Conjectures Authors.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    https://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n-/\nmodule\n\npublic import FormalConjecturesUtil\n\n/-!\n# Alternating sum of signs of powers of $3/2$\n\nThe sequence $a(n) = -\\sum_{k=1}^n (-1)^{\\lfloor (3/2)^k \\rfloor}$.\n\n*References:*\n- [A071532](https://oeis.org/A071532)-/\n\n@[expose] public section\n\nnamespace OeisA71532\n\nopen Finset Filter\nopen scoped Asymptotics\n\n/-- The sequence $a(n) = -\\sum_{k=1}^n (-1)^{\\lfloor (3/2)^k \\rfloor}$. -/\ndef a (n : ℕ) : ℤ :=\n  - ∑ k ∈ Icc 1 n, (-1 : ℤ) ^ (3 ^ k / 2 ^ k)\n\n/-- Value of the sequence `a` at 1. -/\n@[category test, AMS 11]\ntheorem a_1 : a 1 = 1 := by\n  decide\n\n/-- Value of the sequence `a` at 2. -/\n@[category test, AMS 11]\ntheorem a_2 : a 2 = 0 := by\n  decide\n\n/-- Value of the sequence `a` at 3. -/\n@[category test, AMS 11]\ntheorem a_3 : a 3 = 1 := by\n  decide\n\n/-- Value of the sequence `a` at 4. -/\n@[category test, AMS 11]\ntheorem a_4 : a 4 = 2 := by\n  decide\n\n/-- Value of the sequence `a` at 5. -/\n@[category test, AMS 11]\ntheorem a_5 : a 5 = 3 := by\n  decide\n\nset_option linter.style.formal_proof_palomar false in\n/--\n\"Is $a(n)>0$?\"\n\nThe answer is negative: $a(331523) = -1$. The restriction $n > 2$ excludes the initial\nzero $a(2) = 0$.\n\nThe counterexample and formal proof were developed by Codex (GPT-6), prompted by\nSamuel Schlesinger.\n-/\n@[category research solved, question, AMS 11, formal_proof using lean4 at\n  \"https://github.com/SamuelSchlesinger/a071532-counterexample/blob/818c9f6b3f1eed9ebd1b3b9481848dc21f3e3243/Counterexample.lean#L28-L35\"]\ntheorem conjecture1 : ¬ ∀ n : ℕ, 2 < n → 0 < a n := by\n  sorry\n\n/--\nFor $n$ large enough, does $a(n) > \\sqrt{n}$ always hold?\n-/\n@[category research open, AMS 11]\ntheorem conjecture2 :\n    ∃ N : ℕ, ∀ n : ℕ, N ≤ n → (a n : ℝ) > Real.sqrt (n : ℝ) := by\n  sorry\n\n/--\nConjecture: asymptotically, $a(n) \\sim C \\log(n)^2$ for some constant $C > 0$.\n-/\n@[category research open, AMS 11]\ntheorem conjecture3 :\n    ∃ C : ℝ, 0 < C ∧ (fun n : ℕ ↦ (a n : ℝ)) ~[atTop] (fun n : ℕ ↦ C * Real.log (n : ℝ) ^ 2) := by\n  sorry\n\ndef conjecture3_value.answer : ℝ := sorry\n\n/--\nConjecture: the constant $C$ in $a(n) \\sim C \\log(n)^2$ is approximately $1.4$.\n-/\n@[category research open, question value, AMS 11]\ntheorem conjecture3_value :\n    |conjecture3_value.answer - 1.4| < 0.1 ∧\n      (fun n : ℕ ↦ (a n : ℝ)) ~[atTop] (fun n : ℕ ↦ conjecture3_value.answer * Real.log (n : ℝ) ^ 2)\n        := by\n  sorry\n\nend OeisA71532\n\n",
  "statement_hash": "09219e877ca6d6c8dc53b8d2a005628f636661aab10f95ee74a9e7d3550eceea",
  "toolchain": "leanprover/lean4:v4.33.1",
  "upstream_commit": "f9b3868d5ca994a7bf95039bcec05338c0c21e2f",
  "workspace": "formal-conjectures",
  "field": "math",
  "formalization": "formal",
  "verification": "lean-kernel",
  "license": "Apache-2.0",
  "attribution": "google-deepmind/formal-conjectures contributors",
  "metric_name": null,
  "metric_direction": null,
  "critiques": [],
  "public_partial_proofs": [],
  "research_threads": [],
  "instructions": "Read research_threads first: other people's public repositories and what they already tried. Write Solution.lean starting from challenge_source. Keep every definition identical, prove decl_name with exactly the same type, no sorry in its dependency closure, no new axioms, no native_decide, no metaprogramming. Submit with POST /api/v1/submissions."
}