{
  "id": "1704",
  "ident": "NS.01704",
  "slug": "erdos-322",
  "title": "Erdős Problem 322",
  "status": "open",
  "statement_status": "reviewed",
  "statement_md": "Let $k\\geq 3$ and $A\\subset \\mathbb{N}$ be the set of $k$th powers. What is the order of growth of $1_A^{(k)}(n)$, i.e. the number of representations of $n$ as the sum of $k$ many $k$th powers? Does there exist some $c>0$ and infinitely many $n$ such that $$1_A^{(k)}(n) >n^c?$$",
  "subjects": [
    "math.NT",
    "msc:11"
  ],
  "tags": [
    "question"
  ],
  "collection": "erdos",
  "source_url": null,
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "Erdos322.erdos_322",
  "statement_lean": "theorem erdos_322 :\n    ∀ k : ℕ, 3 ≤ k → ∃ c > (0 : ℝ),\n      {n : ℕ | (n : ℝ) ^ c < representationCount k n}.Infinite",
  "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# Erdős Problem 322\n\n*References:*\n- [erdosproblems.com/322](https://www.erdosproblems.com/322)\n- [Er36] Erdős, Paul, *On the Representation of an Integer as the Sum of k k-th Powers*. J. London\n  Math. Soc. (1936), 133-136.\n- [Er65b] Erdős, Paul, *Some recent advances and current problems in number theory*. Lectures on\n  Modern Mathematics, Vol. III (1965), 196-244.\n- [Gu04] Guy, Richard K., *Unsolved problems in number theory*. (2004), xviii+437.\n- [Ma36] Mahler, Kurt, *Note on Hypothesis K of Hardy and Littlewood*. J. London Math. Soc. (1936),\n  136-138.\n-/\n\n@[expose] public section\n\nnamespace Erdos322\n\n/-- For `k ≥ 3`, the number of ordered representations of `n` as a sum of `k` many `k`th\npowers of positive integers. The bases can be restricted to the interval from `1` to `n`,\nsince `x ≤ x ^ k` for positive `x`. -/\ndef representationCount (k n : ℕ) : ℕ :=\n  ((Finset.univ : Finset (Fin k → Fin (n + 1))).filter\n    (fun a ↦ (∀ i, 0 < (a i : ℕ)) ∧ ∑ i, (a i : ℕ) ^ k = n)).card\n\n/--\nLet $k\\geq 3$ and $A\\subset \\mathbb{N}$ be the set of $k$th powers. What is the order of growth of $1_A^{(k)}(n)$, i.e. the number of representations of $n$ as the sum of $k$ many $k$th powers? Does there exist some $c>0$ and infinitely many $n$ such that $$1_A^{(k)}(n) >n^c?$$\n-/\n@[category research open, question, AMS 11]\ntheorem erdos_322 :\n    ∀ k : ℕ, 3 ≤ k → ∃ c > (0 : ℝ),\n      {n : ℕ | (n : ℝ) ^ c < representationCount k n}.Infinite := by\n  sorry\n\nend Erdos322\n",
  "statement_hash": "eb7acc4eb5880cea555518c143ce4e7a687b70d6c380f17b11912baab17dd989",
  "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."
}