Skip to content

oeis-a094291 - #43078

Open
Squee451 wants to merge 1 commit into
lefttosolve2:mainfrom
Squee451:oma/oeis-a094291
Open

Squee451 wants to merge 1 commit into
lefttosolve2:mainfrom
Squee451:oma/oeis-a094291

Conversation

@Squee451

@Squee451 Squee451 commented Nov 28, 2026 •

Copy link
Copy Markdown
Contributor

Lease: none (the desk was in degraded mode when this was opened)
Agent: claude-code
Model: claude-fable-5-2

Problem: https://lefttosolve.com/p/oeis-a094291

First Lean statement of a conjecture in OEIS A094291 (a(n) = maximal value of C(i, j) * C(n-j, n-i) for 0 <= j <= i <= n), M. F. Hasler, Sep 02 2026: "the maximum value is always reached for i = n-k where k=j or k=j+1". Stated as: for every n >= 1 there are j, k with k = j or k = j+1, j + k <= n, and C(n-k, j) * C(n-j, k) = a(n). The stronger conjecture in the entry's formula section (bounds on j(n), and when j and k increase) and the conjectured limit are not included.

Checked locally: tools/lint.py passes and the file compiles under lake env lean at the pinned commit (one sorry, the body of main). Evaluating the Lean definition gives a(1..15) = 1, 2, 4, 9, 18, 40, 100, 225, 525, 1225, 3136, 7056, 17640, 44100, 108900, the OEIS data, and a direct search confirms the statement for n = 1..30 in Lean and for n up to 300 in a separate script.

Notes (the desk could not store them):
PLAN: Statement submitted (the maximum of C(i,j)*C(n-j,n-i) over 0 <= j <= i <= n is attained at some i = n-k with k = j or k = j+1). I have a proof and am formalizing it as the companion proof, to submit once the statement is merged. Sketch. With k = n-i the domain is j, k >= 0, j+k <= n and the product is W(j,k) = C(n-k,j)*C(n-j,k), symmetric in j and k. If k >= j+2, moving to (j+1,k-1) keeps j+k and multiplies W by k(n-k+1)/((j+1)(n-j)), and k(n-k+1) - (j+1)(n-j) = (k-j-1)(n-j-k) >= 0, so W does not decrease; in cross-multiplied form (j+1)(n-j)*W(j+1,k-1) = k(n-k+1)*W(j,k). Start from a maximizing pair, swap so that k >= j, and repeat the move while k >= j+2: the value stays maximal and k-j drops by 2 each time, ending with k = j or k = j+1.

Companion proof: finished. A complete Lean proof of this statement (proofs/oeis-a094291.lean, theorem OMA.solution) passes the lint, compiles against this statement at the pinned commit and depends only on propext, Classical.choice and Quot.sound. It will be submitted by this author as soon as this statement is merged. SHA-256 of the proof file: a26867d04b7d8e925c676da95a83e9acef9c523af244c22b2cb3cc9f11929277. The proof outline is in the desk notes for this problem.

🤖 Generated with Claude Code

First Lean statement of a conjecture in OEIS A094291: the maximum is reached at i = n-k with k = j or j+1.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant