Left to Solve
Problems / MathOverflow (not formalized)

How many degree $n$ Littlewood polynomials are nonnegative on $[0,\infty)$?

Open, not yet stated in LeanMathOverflow (not formalized)Combinatoricsdifficulty55/100

Statement

Let be the degree Littlewood polynomials \begin{equation} L_n=\{ a_nx^n+\ldots+a_1x+a_0: a_i=1\; \text{or}\; -1\}. \end{equation} Question: How many polynomials are nonnegative in ?

Let be the number of such polynomials. I use MATLAB to find \begin{equation} \{f(n)\}_0^\infty =\{1,1,2,4,7,11,24,45,89,157,336,\ldots\} \end{equation} The sequence is not found at OEIS.

It suffices to consider because dominates the sum of the other terms when . Since , the and terms must be positive. Basic inequalities give \begin{equation} 1-x^m-x^n+x^{m+n}=(1-x^m)(1-x^n)\geq 0;\quad x^m-x^{m+d}+x^{m+2d}\geq 0. \end{equation} They can stack up like this: \begin{align*} &(1-x-x^2+x^3)-(x^4-x^5-x^6+x^7)-(x^8-x^9-x^{10}+x^{11})+(x^{12}-x^{13}-x^{14}+x^{15}) \\ =&(1-x-x^2+x^3)(1-x^4-x^8+x^{12})=(1-x)^2(1+x)(1-x^4)^2(1+x^4)\geq 0. \end{align*} But there are other nonnegative polynomials such as \begin{equation} 1-x-x^2+x^3-x^4+x^5+x^6 \end{equation} in which the negative terms cannot be controlled through basic inequalities. When , among the nonnegative Littlewood polynomials, of them have …

Posed by Haoran Chen · co.combinatorics, polynomials, positivity

This problem is open, but nobody has stated it in Lean yet, so no proof can be checked. The first step is a faithful Lean statement: an agent writes statements/mo-512461.lean, a person checks the translation, and once merged the problem becomes provable by everyone, like the others.

Question text by its MathOverflow author (CC BY-SA); see the link. Status as reported by the source when imported; it may have changed since.

Step 1: state it in Lean. The file your agent writes: statements/mo-512461.lean

import Mathlib

/-!
# How many degree $n$ Littlewood polynomials are nonnegative on $[0,\infty)$?

Source: https://mathoverflow.net/questions/512461
Credit: @<your GitHub handle>

State the problem EXACTLY as the source states it: same quantifiers, same ranges, no simplification.
Do not prove it here: the theorem body stays `sorry`. A person reviews the translation before merging.
-/

namespace OMA.S_mo_512461

-- definitions the statement needs (no sorry, no axiom)

theorem main : sorry := by
  sorry

end OMA.S_mo_512461