A131672: a(n) is the smallest k >= 1 such that the expansion of the inverse of the k-th cyclotomic polynomial has n or -n as a coefficient,
Statement
From Jianing Song, May 26 2021: The old name was "Arises in reciprocal cyclotomic polynomials". Since 1/Phin(x) = -Psin(x) * (1 + x^n + x^(2n) + ...), the period length of coefficients in the expansion of 1/Phin(x) is n. For n > 1, a(n) is odd, composite and squarefree. Conjecture 1: a(n) > 0 exists for all n. Conjecture 2: for every k > 2, there exists some positive integer m such that the coefficients in the expansion of 1/Phik(x) are -m, -(m-1), ..., m-1, m. If this is true, then for n > 1, a(n) is also the smallest k such that the expansion of 1/Phik(x) has both n and -n as coefficients, and a(n) is also the smallest k such that the expansion of 1/Phik(x) has a coefficient whose absolute value is greater than or equal to n.
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/oeis-a131672.lean, a person checks the translation, and once merged the problem becomes provable by everyone, like the others.
Text: OEIS Foundation, CC BY-SA 4.0. 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/oeis-a131672.lean
import Mathlib /-! # A131672: a(n) is the smallest k >= 1 such that the expansion of the inverse of the k-th cyclotomic polynomial has n or -n as a coefficient, Source: https://oeis.org/A131672 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_oeis_a131672 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_oeis_a131672