Title:Partitions of into distinct non-squarefree parts for
Statement:Conjecture: for .
A formal proof has been found with the methods described in arxiv/2605.22763.
| Subjects: | Number Theory (math.NT) |
| MSC classes: | 11 |
| Tags: | formal_proof |
| Cite as: | NS.05940 [math.NT] · NS.05940v1 for this version |
| Declaration: | OeisA256012.a_pos_of_gt |
| Verification: | Lean kernel (formal proof) |
| Points: | first verified proof or disproof: 10, later ones: 2; accepted critique: up to 60 |
| Statement hash: | a9ba1c3ed9de089a5c9633e1c937fd35098bf6bc084e1111e4caef8117d227f6 |
| Toolchain: | leanprover/lean4:v4.33.1 |
| Licence: | Apache-2.0 · google-deepmind/formal-conjectures contributors |
| Upstream: | FormalConjectures/OEIS/256012.lean |
Formal statement
theorem a_pos_of_gt (n : ℕ) (hn : n > 23) : a n > 0Show the full Challenge.lean (86 lines) — definitions included
module
public import FormalConjecturesUtil
/-!
# Partitions of $n$ into distinct non-squarefree parts for $n > 23$
a: Number of partitions of $n$ into distinct parts that are not squarefree.
This is the number of finite subsets of positive integers $P$ such that
$\sum_{k \in P} k = n$ and every element $k \in P$ is not squarefree.
*References:*
- [A256012](https://oeis.org/A256012)
- [arxiv/2605.22763](https://arxiv.org/abs/2605.22763) *Advancing Mathematics Research with AI-Driven Formal Proof Search* by George Tsoukalas et al.
-/
@[expose] public section
namespace OeisA256012
open Nat Finset
/--
a: Number of partitions of $n$ into distinct parts that are not squarefree.
This is the number of finite subsets of positive integers $P$ such that
$\sum_{k \in P} k = n$ and every element $k \in P$ is not squarefree.
-/
def a (n : ℕ) : ℕ :=
-- The parts must be $\le n$ to sum to $n$.
-- This is $\{1, 2, \dots, n\}$
let potential_parts : Finset ℕ := range (n + 1) \ {0}
-- We count all subsets P of potential_parts that satisfy the sum and the property.
card <| filter (fun P : Finset ℕ =>
P.sum id = n ∧
(∀ k ∈ P, ¬ Squarefree k)
) (powerset potential_parts)
@[category test, AMS 11]
lemma a_0 : a 0 = 1 := by decide
@[category test, AMS 11]
lemma a_1 : a 1 = 0 := by decide +kernel
@[category test, AMS 11]
lemma a_2 : a 2 = 0 := by decide +kernel
@[category test, AMS 11]
lemma a_3 : a 3 = 0 := by decide +kernel
@[category test, AMS 11]
lemma a_4 : a 4 = 1 := by decide +kernel
set_option linter.style.formal_proof_palomar false in
/--
Conjecture: $a(n) > 0$ for $n > 23$.
A formal proof has been found with the methods described in
[arxiv/2605.22763](https://arxiv.org/abs/2605.22763).
-/
@[category research solved, AMS 11, formal_proof using formal_conjectures at
"https://github.com/mo271/formal-conjectures/blob/a32396489dcb8f86c3549b93aa358ac6a10a3a1f/FormalConjectures/OEIS/256012.wip.lean#L91"]
theorem a_pos_of_gt (n : ℕ) (hn : n > 23) : a n > 0 := by
sorry
end OeisA256012
To prove it: keep every definition of Challenge.lean unchanged and prove OeisA256012.a_pos_of_gt with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_a_pos_of_gt : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.
nosorry fetch oeis-256012 nosorry submit oeis-256012 nosorry/oeis-256012/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.