{
  "id": "4975",
  "ident": "NS.04975",
  "slug": "oeis-158110",
  "title": "Exponentials of $\\sum_{n \\ge 1} q^{n^m} x^n / n$",
  "status": "solved",
  "statement_status": "reviewed",
  "statement_md": "\"Conjecture: given q and m are nonnegative integers, then exp( Sum_{n>=1} q^(n^m)*x^n/n ) is a\npower series in x with integer coefficients.\"\n- Paul D. Hanna, Mar 19 2009.\n\nProved by Sela Fried [Fr25]. The case $m = 0$ gives $(1 - x)^{-q}$, and $q = 0$ gives $1$.",
  "subjects": [
    "math.CO",
    "math.NT",
    "msc:05",
    "msc:11"
  ],
  "tags": [
    "formal_proof"
  ],
  "collection": "oeis",
  "source_url": null,
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "OeisA158110.conjecture",
  "statement_lean": "theorem conjecture (q m n : ℕ) : ∃ z : ℤ, coeff n (subst (logSeries q m) (exp ℚ)) = z",
  "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-/\n\nmodule\n\npublic import FormalConjecturesUtil\n\n/-!\n# Exponentials of $\\sum_{n \\ge 1} q^{n^m} x^n / n$\n\nThe sequence lists the coefficients of $\\exp\\left(\\sum_{n \\ge 1} 2^{n^3} x^n / n\\right)$.\nPaul D. Hanna conjectured that $\\exp\\left(\\sum_{n \\ge 1} q^{n^m} x^n / n\\right)$ has integer\ncoefficients for all nonnegative integers $q$ and $m$. Sela Fried proved this [Fr25].\n\n*References:*\n- [A158110](https://oeis.org/A158110), Paul D. Hanna, 2009.\n- [Fr25] Sela Fried, [Proof of a conjecture stated in A158110](https://oeis.org/A158110/a158110.pdf),\n  2025.\n- [Fr26] Sela Fried, [Further proofs of conjectures from the OEIS](https://arxiv.org/abs/2607.24832),\n  arXiv:2607.24832, 2026.\n-/\n\n@[expose] public section\n\nnamespace OeisA158110\n\nopen PowerSeries\n\n/-- The series $\\sum_{n \\ge 1} q^{n^m} x^n / n$ over $\\mathbb{Q}$. The sum starts at $n = 1$,\nso the exponent $n^m$ is at least $1$ and $0^0$ never occurs. -/\nnoncomputable def logSeries (q m : ℕ) : ℚ⟦X⟧ :=\n  mk fun n => if n = 0 then 0 else (q : ℚ) ^ (n ^ m) / n\n\n/-- The coefficients of $\\exp\\left(\\sum_{n \\ge 1} 2^{n^3} x^n / n\\right)$, the sequence A158110.\n`subst L (exp ℚ)` is the composition $\\exp \\circ L$. -/\nnoncomputable def a (n : ℕ) : ℚ :=\n  coeff n (subst (logSeries 2 3) (exp ℚ))\n\n@[category test, AMS 5 11]\ntheorem a_0 : a 0 = 1 := by\n  sorry\n\n@[category test, AMS 5 11]\ntheorem a_1 : a 1 = 2 := by\n  sorry\n\n@[category test, AMS 5 11]\ntheorem a_2 : a 2 = 130 := by\n  sorry\n\n/--\n\"Conjecture: given q and m are nonnegative integers, then exp( Sum_{n>=1} q^(n^m)*x^n/n ) is a\npower series in x with integer coefficients.\"\n- Paul D. Hanna, Mar 19 2009.\n\nProved by Sela Fried [Fr25]. The case $m = 0$ gives $(1 - x)^{-q}$, and $q = 0$ gives $1$.\n-/\n@[category research solved, AMS 5 11, formal_proof using lean4 at\n  \"https://palomar-registry.org/entry.html?id=PALOMAR-2026-11-14-000003\"]\ntheorem conjecture (q m n : ℕ) : ∃ z : ℤ, coeff n (subst (logSeries q m) (exp ℚ)) = z := by\n  sorry\n\nend OeisA158110\n",
  "statement_hash": "c162bb9e04dc242577cdc437e7d59ccfac4cb2c1f5a3b44c28907c5e7a29b818",
  "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."
}